Changeset 9389
- Timestamp:
- 04/22/13 16:57:03 (12 years ago)
- Location:
- branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/HeuristicLab.Analysis.Statistics-3.3.csproj
r9383 r9389 115 115 <ItemGroup> 116 116 <Compile Include="LinearLeastSquaresFitting.cs" /> 117 <Compile Include="Resources.Designer.cs"> 118 <AutoGen>True</AutoGen> 119 <DesignTime>True</DesignTime> 120 <DependentUpon>Resources.resx</DependentUpon> 121 </Compile> 117 122 <Compile Include="SampleSizeChecker.cs"> 118 123 <SubType>UserControl</SubType> … … 157 162 </ItemGroup> 158 163 <ItemGroup> 164 <EmbeddedResource Include="Resources.resx"> 165 <Generator>ResXFileCodeGenerator</Generator> 166 <LastGenOutput>Resources.Designer.cs</LastGenOutput> 167 </EmbeddedResource> 159 168 <EmbeddedResource Include="StatisticalTestingView.resx"> 160 169 <DependentUpon>StatisticalTestingView.cs</DependentUpon> 161 170 </EmbeddedResource> 171 </ItemGroup> 172 <ItemGroup> 173 <None Include="VS2008ImageLibrary_Annotations_Default.png" /> 162 174 </ItemGroup> 163 175 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.cs
r9353 r9389 57 57 UpdateResultComboBox(); 58 58 UpdateGroupsComboBox(); 59 FillCompComboBox(); 59 60 RebuildDataTable(); 60 61 } … … 126 127 resultComboBox.Items.AddRange(results); 127 128 if (resultComboBox.Items.Count > 0) resultComboBox.SelectedItem = resultComboBox.Items[0]; 129 } 130 131 private void FillCompComboBox() { 132 string parameterName = (string)groupComboBox.SelectedItem; 133 if (parameterName != null) { 134 string resultName = (string)resultComboBox.SelectedItem; 135 if (resultName != null) { 136 var runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible); 137 var columnNames = GetColumnNames(runs).ToList(); 138 groupCompComboBox.Items.Clear(); 139 columnNames.ForEach(x => groupCompComboBox.Items.Add(x)); 140 if (groupCompComboBox.Items.Count > 0) groupCompComboBox.SelectedItem = groupCompComboBox.Items[0]; 141 } 142 } 128 143 } 129 144 … … 170 185 } 171 186 187 private void ResetUI() { 188 normalityLabel.Image = null; 189 groupCompLabel.Image = null; 190 pValTextBox.Text = string.Empty; 191 equalDistsTextBox.Text = string.Empty; 192 } 193 172 194 private void testButton_Click(object sender, EventArgs e) { 173 195 double pval = KruskalWallis.Test(data); 174 196 pValTextBox.Text = pval.ToString(); 197 if (pval < 0.05) { 198 groupCompLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; 199 } else { 200 groupCompLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; 201 } 175 202 } 176 203 … … 187 214 if (res[i] < 0.1) { 188 215 stringConvertibleMatrixView.DataGridView.Columns[i].DefaultCellStyle.ForeColor = Color.Red; 216 normalityLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; 189 217 } else { 190 218 stringConvertibleMatrixView.DataGridView.Columns[i].DefaultCellStyle.ForeColor = Color.Green; 219 normalityLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; 191 220 } 192 221 } … … 195 224 private void resultComboBox_SelectedValueChanged(object sender, EventArgs e) { 196 225 RebuildDataTable(); 197 pValTextBox.Text = string.Empty;226 ResetUI(); 198 227 } 199 228 200 229 private void groupComboBox_SelectedValueChanged(object sender, EventArgs e) { 230 FillCompComboBox(); 201 231 RebuildDataTable(); 202 pValTextBox.Text = string.Empty;232 ResetUI(); 203 233 } 204 234 … … 218 248 219 249 private void pairwiseTestButton_Click(object sender, EventArgs e) { 220 var selectedCells = stringConvertibleMatrixView.DataGridView.SelectedCells; 221 if (selectedCells.Count < 1) { 222 MessageBox.Show("Please selected one cell/column for pairwise comparision. ", "HeuristicLab", MessageBoxButtons.OK, MessageBoxIcon.Error); 223 return; 224 } 225 226 int colIndex = selectedCells[0].ColumnIndex; 227 foreach (DataGridViewCell selC in selectedCells) { 228 if (colIndex != selC.ColumnIndex) { 229 MessageBox.Show("Please selected only one column for pairwise comparision. ", "HeuristicLab", MessageBoxButtons.OK, MessageBoxIcon.Error); 230 return; 231 } 250 string curItem = (string)groupCompComboBox.SelectedItem; 251 int colIndex = 0; 252 253 foreach (string col in stringConvertibleMatrixView.Content.ColumnNames) { 254 if (col == curItem) { 255 break; 256 } 257 colIndex++; 232 258 } 233 259 … … 267 293 boxplotView.Show(); 268 294 } 295 296 private void pairwiseCheckDataButton_Click(object sender, EventArgs e) { 297 string curItem = (string)groupCompComboBox.SelectedItem; 298 int colIndex = 0; 299 300 foreach (string col in stringConvertibleMatrixView.Content.ColumnNames) { 301 if (col == curItem) { 302 break; 303 } 304 colIndex++; 305 } 306 307 double mwuBothtails; 308 double mwuLefttail; 309 double mwuRighttail; 310 int cnt = 0; 311 312 for (int i = 0; i < data.Length; i++) { 313 if (i != colIndex) { 314 alglib.mannwhitneyutest(data[colIndex], data[colIndex].Length, data[i], data[i].Length, out mwuBothtails, out mwuLefttail, out mwuRighttail); 315 if (mwuBothtails > 0.05) { 316 cnt++; 317 } 318 } 319 } 320 321 double ratio = ((double)cnt) / data.Length * 100.0; 322 equalDistsTextBox.Text = ratio.ToString() + " %"; 323 } 269 324 } 270 325 } -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.designer.cs
r9353 r9389 63 63 this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); 64 64 this.splitContainer1 = new System.Windows.Forms.SplitContainer(); 65 this.splitContainer2 = new System.Windows.Forms.SplitContainer(); 65 this.splitContainer3 = new System.Windows.Forms.SplitContainer(); 66 this.pairwiseTestGroupBox = new System.Windows.Forms.GroupBox(); 67 this.label2 = new System.Windows.Forms.Label(); 68 this.groupCompComboBox = new System.Windows.Forms.ComboBox(); 69 this.allGroupTestGroupBox = new System.Windows.Forms.GroupBox(); 70 this.groupCompLabel = new System.Windows.Forms.Label(); 71 this.normalityGroupBox = new System.Windows.Forms.GroupBox(); 72 this.normalityLabel = new System.Windows.Forms.Label(); 73 this.selectDataGroupBox = new System.Windows.Forms.GroupBox(); 74 this.pairwiseCheckDataButton = new System.Windows.Forms.Button(); 75 this.equalDistsTextBox = new System.Windows.Forms.TextBox(); 76 this.label3 = new System.Windows.Forms.Label(); 66 77 this.contextMenuStrip1.SuspendLayout(); 67 78 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); … … 69 80 this.splitContainer1.Panel2.SuspendLayout(); 70 81 this.splitContainer1.SuspendLayout(); 71 ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); 72 this.splitContainer2.Panel1.SuspendLayout(); 73 this.splitContainer2.Panel2.SuspendLayout(); 74 this.splitContainer2.SuspendLayout(); 82 ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit(); 83 this.splitContainer3.Panel1.SuspendLayout(); 84 this.splitContainer3.Panel2.SuspendLayout(); 85 this.splitContainer3.SuspendLayout(); 86 this.pairwiseTestGroupBox.SuspendLayout(); 87 this.allGroupTestGroupBox.SuspendLayout(); 88 this.normalityGroupBox.SuspendLayout(); 89 this.selectDataGroupBox.SuspendLayout(); 75 90 this.SuspendLayout(); 76 91 // 77 92 // stringConvertibleMatrixView 78 93 // 79 this.stringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 80 | System.Windows.Forms.AnchorStyles.Left) 94 this.stringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 95 | System.Windows.Forms.AnchorStyles.Left) 81 96 | System.Windows.Forms.AnchorStyles.Right))); 82 97 this.stringConvertibleMatrixView.Caption = "StringConvertibleMatrix View"; 83 98 this.stringConvertibleMatrixView.Content = null; 84 99 this.stringConvertibleMatrixView.ContextMenuStrip = this.contextMenuStrip1; 85 this.stringConvertibleMatrixView.Location = new System.Drawing.Point(3, 3 8);100 this.stringConvertibleMatrixView.Location = new System.Drawing.Point(3, 3); 86 101 this.stringConvertibleMatrixView.Name = "stringConvertibleMatrixView"; 87 102 this.stringConvertibleMatrixView.ReadOnly = false; 88 103 this.stringConvertibleMatrixView.ShowRowsAndColumnsTextBox = false; 89 104 this.stringConvertibleMatrixView.ShowStatisticalInformation = true; 90 this.stringConvertibleMatrixView.Size = new System.Drawing.Size( 918, 423);105 this.stringConvertibleMatrixView.Size = new System.Drawing.Size(644, 488); 91 106 this.stringConvertibleMatrixView.TabIndex = 0; 92 107 // … … 125 140 // resultComboBox 126 141 // 127 this.resultComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 142 this.resultComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 128 143 | System.Windows.Forms.AnchorStyles.Right))); 129 144 this.resultComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 130 145 this.resultComboBox.FormattingEnabled = true; 131 this.resultComboBox.Location = new System.Drawing.Point( 49, 3);146 this.resultComboBox.Location = new System.Drawing.Point(62, 3); 132 147 this.resultComboBox.Name = "resultComboBox"; 133 this.resultComboBox.Size = new System.Drawing.Size( 393, 21);148 this.resultComboBox.Size = new System.Drawing.Size(176, 21); 134 149 this.resultComboBox.TabIndex = 5; 135 150 this.resultComboBox.SelectedValueChanged += new System.EventHandler(this.resultComboBox_SelectedValueChanged); … … 137 152 // testButton 138 153 // 139 this.testButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 140 this.testButton.Location = new System.Drawing.Point(196, 3); 154 this.testButton.Location = new System.Drawing.Point(6, 19); 141 155 this.testButton.Name = "testButton"; 142 this.testButton.Size = new System.Drawing.Size( 109, 23);156 this.testButton.Size = new System.Drawing.Size(92, 23); 143 157 this.testButton.TabIndex = 9; 144 158 this.testButton.Text = "Test all Groups"; … … 148 162 // normalDistButton 149 163 // 150 this.normalDistButton.Location = new System.Drawing.Point( 3, 3);164 this.normalDistButton.Location = new System.Drawing.Point(6, 19); 151 165 this.normalDistButton.Name = "normalDistButton"; 152 this.normalDistButton.Size = new System.Drawing.Size( 166, 23);166 this.normalDistButton.Size = new System.Drawing.Size(92, 23); 153 167 this.normalDistButton.TabIndex = 11; 154 this.normalDistButton.Text = "Check for Normal Distribution";168 this.normalDistButton.Text = "Check Data"; 155 169 this.normalDistButton.UseVisualStyleBackColor = true; 156 170 this.normalDistButton.Click += new System.EventHandler(this.normalDistButton_Click); … … 158 172 // lblPVal 159 173 // 160 this.lblPVal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));161 174 this.lblPVal.AutoSize = true; 162 this.lblPVal.Location = new System.Drawing.Point( 311, 8);175 this.lblPVal.Location = new System.Drawing.Point(6, 51); 163 176 this.lblPVal.Name = "lblPVal"; 164 177 this.lblPVal.Size = new System.Drawing.Size(46, 13); … … 169 182 // pValTextBox 170 183 // 171 this.pValTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 172 this.pValTextBox.Location = new System.Drawing.Point(363, 5); 184 this.pValTextBox.Location = new System.Drawing.Point(58, 48); 173 185 this.pValTextBox.Name = "pValTextBox"; 174 186 this.pValTextBox.ReadOnly = true; 175 this.pValTextBox.Size = new System.Drawing.Size(1 44, 20);187 this.pValTextBox.Size = new System.Drawing.Size(189, 20); 176 188 this.pValTextBox.TabIndex = 13; 177 189 // 178 190 // groupComboBox 179 191 // 180 this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 192 this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 181 193 | System.Windows.Forms.AnchorStyles.Right))); 182 194 this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; … … 184 196 this.groupComboBox.Location = new System.Drawing.Point(62, 3); 185 197 this.groupComboBox.Name = "groupComboBox"; 186 this.groupComboBox.Size = new System.Drawing.Size( 377, 21);198 this.groupComboBox.Size = new System.Drawing.Size(176, 21); 187 199 this.groupComboBox.TabIndex = 14; 188 200 this.groupComboBox.SelectedValueChanged += new System.EventHandler(this.groupComboBox_SelectedValueChanged); … … 190 202 // normalityDetails 191 203 // 192 this.normalityDetails.Location = new System.Drawing.Point( 175, 3);204 this.normalityDetails.Location = new System.Drawing.Point(6, 48); 193 205 this.normalityDetails.Name = "normalityDetails"; 194 this.normalityDetails.Size = new System.Drawing.Size( 181, 23);206 this.normalityDetails.Size = new System.Drawing.Size(92, 23); 195 207 this.normalityDetails.TabIndex = 15; 196 this.normalityDetails.Text = "Show Details of Normality Test";208 this.normalityDetails.Text = "Show Details"; 197 209 this.normalityDetails.UseVisualStyleBackColor = true; 198 210 this.normalityDetails.Click += new System.EventHandler(this.normalityDetails_Click); … … 200 212 // pairwiseTestButton 201 213 // 202 this.pairwiseTestButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 203 this.pairwiseTestButton.Location = new System.Drawing.Point(58, 3); 214 this.pairwiseTestButton.Location = new System.Drawing.Point(6, 113); 204 215 this.pairwiseTestButton.Name = "pairwiseTestButton"; 205 this.pairwiseTestButton.Size = new System.Drawing.Size( 132, 23);216 this.pairwiseTestButton.Size = new System.Drawing.Size(92, 23); 206 217 this.pairwiseTestButton.TabIndex = 16; 207 this.pairwiseTestButton.Text = " Pairwise Statistical Test";218 this.pairwiseTestButton.Text = "Show Details"; 208 219 this.pairwiseTestButton.UseVisualStyleBackColor = true; 209 220 this.pairwiseTestButton.Click += new System.EventHandler(this.pairwiseTestButton_Click); … … 211 222 // infoLabel 212 223 // 213 this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles. Top| System.Windows.Forms.AnchorStyles.Right)));224 this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 214 225 this.infoLabel.Image = ((System.Drawing.Image)(resources.GetObject("infoLabel.Image"))); 215 this.infoLabel.Location = new System.Drawing.Point( 905, 9);226 this.infoLabel.Location = new System.Drawing.Point(240, 475); 216 227 this.infoLabel.Name = "infoLabel"; 217 228 this.infoLabel.Size = new System.Drawing.Size(16, 16); … … 222 233 // splitContainer1 223 234 // 224 this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 225 | System.Windows.Forms.AnchorStyles.Right))); 226 this.splitContainer1.Location = new System.Drawing.Point(8, 3); 235 this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 236 | System.Windows.Forms.AnchorStyles.Left) 237 | System.Windows.Forms.AnchorStyles.Right))); 238 this.splitContainer1.Location = new System.Drawing.Point(6, 19); 227 239 this.splitContainer1.Name = "splitContainer1"; 240 this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; 228 241 // 229 242 // splitContainer1.Panel1 … … 236 249 this.splitContainer1.Panel2.Controls.Add(this.groupByLabel); 237 250 this.splitContainer1.Panel2.Controls.Add(this.groupComboBox); 238 this.splitContainer1.Size = new System.Drawing.Size( 891, 29);239 this.splitContainer1.SplitterDistance = 445;251 this.splitContainer1.Size = new System.Drawing.Size(241, 54); 252 this.splitContainer1.SplitterDistance = 25; 240 253 this.splitContainer1.TabIndex = 18; 241 254 // 242 // splitContainer2 243 // 244 this.splitContainer2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 245 | System.Windows.Forms.AnchorStyles.Right))); 246 this.splitContainer2.Location = new System.Drawing.Point(8, 467); 247 this.splitContainer2.Name = "splitContainer2"; 248 // 249 // splitContainer2.Panel1 250 // 251 this.splitContainer2.Panel1.Controls.Add(this.normalDistButton); 252 this.splitContainer2.Panel1.Controls.Add(this.normalityDetails); 253 // 254 // splitContainer2.Panel2 255 // 256 this.splitContainer2.Panel2.Controls.Add(this.pairwiseTestButton); 257 this.splitContainer2.Panel2.Controls.Add(this.testButton); 258 this.splitContainer2.Panel2.Controls.Add(this.pValTextBox); 259 this.splitContainer2.Panel2.Controls.Add(this.lblPVal); 260 this.splitContainer2.Size = new System.Drawing.Size(913, 30); 261 this.splitContainer2.SplitterDistance = 399; 262 this.splitContainer2.TabIndex = 19; 255 // splitContainer3 256 // 257 this.splitContainer3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 258 | System.Windows.Forms.AnchorStyles.Left) 259 | System.Windows.Forms.AnchorStyles.Right))); 260 this.splitContainer3.Location = new System.Drawing.Point(8, 3); 261 this.splitContainer3.Name = "splitContainer3"; 262 // 263 // splitContainer3.Panel1 264 // 265 this.splitContainer3.Panel1.Controls.Add(this.stringConvertibleMatrixView); 266 // 267 // splitContainer3.Panel2 268 // 269 this.splitContainer3.Panel2.Controls.Add(this.pairwiseTestGroupBox); 270 this.splitContainer3.Panel2.Controls.Add(this.allGroupTestGroupBox); 271 this.splitContainer3.Panel2.Controls.Add(this.infoLabel); 272 this.splitContainer3.Panel2.Controls.Add(this.normalityGroupBox); 273 this.splitContainer3.Panel2.Controls.Add(this.selectDataGroupBox); 274 this.splitContainer3.Size = new System.Drawing.Size(913, 494); 275 this.splitContainer3.SplitterDistance = 650; 276 this.splitContainer3.TabIndex = 20; 277 // 278 // pairwiseTestGroupBox 279 // 280 this.pairwiseTestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 281 | System.Windows.Forms.AnchorStyles.Right))); 282 this.pairwiseTestGroupBox.Controls.Add(this.label3); 283 this.pairwiseTestGroupBox.Controls.Add(this.equalDistsTextBox); 284 this.pairwiseTestGroupBox.Controls.Add(this.pairwiseCheckDataButton); 285 this.pairwiseTestGroupBox.Controls.Add(this.label2); 286 this.pairwiseTestGroupBox.Controls.Add(this.groupCompComboBox); 287 this.pairwiseTestGroupBox.Controls.Add(this.pairwiseTestButton); 288 this.pairwiseTestGroupBox.Location = new System.Drawing.Point(3, 279); 289 this.pairwiseTestGroupBox.Name = "pairwiseTestGroupBox"; 290 this.pairwiseTestGroupBox.Size = new System.Drawing.Size(253, 145); 291 this.pairwiseTestGroupBox.TabIndex = 22; 292 this.pairwiseTestGroupBox.TabStop = false; 293 this.pairwiseTestGroupBox.Text = "4. Pairwise Statistical Testing"; 294 // 295 // label2 296 // 297 this.label2.AutoSize = true; 298 this.label2.Location = new System.Drawing.Point(6, 22); 299 this.label2.Name = "label2"; 300 this.label2.Size = new System.Drawing.Size(111, 13); 301 this.label2.TabIndex = 18; 302 this.label2.Text = "Group for comparison:"; 303 // 304 // groupCompComboBox 305 // 306 this.groupCompComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 307 this.groupCompComboBox.FormattingEnabled = true; 308 this.groupCompComboBox.Location = new System.Drawing.Point(123, 19); 309 this.groupCompComboBox.Name = "groupCompComboBox"; 310 this.groupCompComboBox.Size = new System.Drawing.Size(124, 21); 311 this.groupCompComboBox.TabIndex = 17; 312 // 313 // allGroupTestGroupBox 314 // 315 this.allGroupTestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 316 | System.Windows.Forms.AnchorStyles.Right))); 317 this.allGroupTestGroupBox.Controls.Add(this.groupCompLabel); 318 this.allGroupTestGroupBox.Controls.Add(this.testButton); 319 this.allGroupTestGroupBox.Controls.Add(this.lblPVal); 320 this.allGroupTestGroupBox.Controls.Add(this.pValTextBox); 321 this.allGroupTestGroupBox.Location = new System.Drawing.Point(3, 173); 322 this.allGroupTestGroupBox.Name = "allGroupTestGroupBox"; 323 this.allGroupTestGroupBox.Size = new System.Drawing.Size(253, 100); 324 this.allGroupTestGroupBox.TabIndex = 21; 325 this.allGroupTestGroupBox.TabStop = false; 326 this.allGroupTestGroupBox.Text = "3. Statistical Testing using all Groups"; 327 // 328 // groupCompLabel 329 // 330 this.groupCompLabel.AutoSize = true; 331 this.groupCompLabel.Location = new System.Drawing.Point(104, 24); 332 this.groupCompLabel.MaximumSize = new System.Drawing.Size(16, 16); 333 this.groupCompLabel.MinimumSize = new System.Drawing.Size(16, 16); 334 this.groupCompLabel.Name = "groupCompLabel"; 335 this.groupCompLabel.Size = new System.Drawing.Size(16, 16); 336 this.groupCompLabel.TabIndex = 17; 337 // 338 // normalityGroupBox 339 // 340 this.normalityGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 341 | System.Windows.Forms.AnchorStyles.Right))); 342 this.normalityGroupBox.Controls.Add(this.normalityLabel); 343 this.normalityGroupBox.Controls.Add(this.normalDistButton); 344 this.normalityGroupBox.Controls.Add(this.normalityDetails); 345 this.normalityGroupBox.Location = new System.Drawing.Point(3, 91); 346 this.normalityGroupBox.Name = "normalityGroupBox"; 347 this.normalityGroupBox.Size = new System.Drawing.Size(253, 76); 348 this.normalityGroupBox.TabIndex = 20; 349 this.normalityGroupBox.TabStop = false; 350 this.normalityGroupBox.Text = "2. Check for Normal Distribution"; 351 // 352 // normalityLabel 353 // 354 this.normalityLabel.AutoSize = true; 355 this.normalityLabel.Location = new System.Drawing.Point(116, 24); 356 this.normalityLabel.MaximumSize = new System.Drawing.Size(16, 16); 357 this.normalityLabel.MinimumSize = new System.Drawing.Size(16, 16); 358 this.normalityLabel.Name = "normalityLabel"; 359 this.normalityLabel.Size = new System.Drawing.Size(16, 16); 360 this.normalityLabel.TabIndex = 16; 361 // 362 // selectDataGroupBox 363 // 364 this.selectDataGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 365 | System.Windows.Forms.AnchorStyles.Right))); 366 this.selectDataGroupBox.Controls.Add(this.splitContainer1); 367 this.selectDataGroupBox.Location = new System.Drawing.Point(3, 6); 368 this.selectDataGroupBox.Name = "selectDataGroupBox"; 369 this.selectDataGroupBox.Size = new System.Drawing.Size(253, 79); 370 this.selectDataGroupBox.TabIndex = 19; 371 this.selectDataGroupBox.TabStop = false; 372 this.selectDataGroupBox.Text = "1. Select Data"; 373 // 374 // pairwiseCheckDataButton 375 // 376 this.pairwiseCheckDataButton.Location = new System.Drawing.Point(6, 52); 377 this.pairwiseCheckDataButton.Name = "pairwiseCheckDataButton"; 378 this.pairwiseCheckDataButton.Size = new System.Drawing.Size(92, 23); 379 this.pairwiseCheckDataButton.TabIndex = 19; 380 this.pairwiseCheckDataButton.Text = "Check Data"; 381 this.pairwiseCheckDataButton.UseVisualStyleBackColor = true; 382 this.pairwiseCheckDataButton.Click += new System.EventHandler(this.pairwiseCheckDataButton_Click); 383 // 384 // equalDistsTextBox 385 // 386 this.equalDistsTextBox.Location = new System.Drawing.Point(95, 87); 387 this.equalDistsTextBox.Name = "equalDistsTextBox"; 388 this.equalDistsTextBox.ReadOnly = true; 389 this.equalDistsTextBox.Size = new System.Drawing.Size(149, 20); 390 this.equalDistsTextBox.TabIndex = 18; 391 // 392 // label3 393 // 394 this.label3.AutoSize = true; 395 this.label3.Location = new System.Drawing.Point(9, 90); 396 this.label3.Name = "label3"; 397 this.label3.Size = new System.Drawing.Size(74, 13); 398 this.label3.TabIndex = 18; 399 this.label3.Text = "Equal Groups:"; 400 this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight; 263 401 // 264 402 // StatisticalTestingView 265 403 // 266 this.Controls.Add(this.splitContainer2); 267 this.Controls.Add(this.splitContainer1); 268 this.Controls.Add(this.infoLabel); 269 this.Controls.Add(this.stringConvertibleMatrixView); 404 this.Controls.Add(this.splitContainer3); 270 405 this.Name = "StatisticalTestingView"; 271 406 this.Size = new System.Drawing.Size(924, 500); … … 277 412 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); 278 413 this.splitContainer1.ResumeLayout(false); 279 this.splitContainer2.Panel1.ResumeLayout(false); 280 this.splitContainer2.Panel2.ResumeLayout(false); 281 this.splitContainer2.Panel2.PerformLayout(); 282 ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); 283 this.splitContainer2.ResumeLayout(false); 414 this.splitContainer3.Panel1.ResumeLayout(false); 415 this.splitContainer3.Panel2.ResumeLayout(false); 416 ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit(); 417 this.splitContainer3.ResumeLayout(false); 418 this.pairwiseTestGroupBox.ResumeLayout(false); 419 this.pairwiseTestGroupBox.PerformLayout(); 420 this.allGroupTestGroupBox.ResumeLayout(false); 421 this.allGroupTestGroupBox.PerformLayout(); 422 this.normalityGroupBox.ResumeLayout(false); 423 this.normalityGroupBox.PerformLayout(); 424 this.selectDataGroupBox.ResumeLayout(false); 284 425 this.ResumeLayout(false); 285 426 … … 301 442 private System.Windows.Forms.ToolTip toolTip1; 302 443 private System.Windows.Forms.SplitContainer splitContainer1; 303 private System.Windows.Forms.SplitContainer splitContainer2;304 444 private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; 305 445 private System.Windows.Forms.ToolStripMenuItem openBoxPlotToolStripMenuItem; 446 private System.Windows.Forms.SplitContainer splitContainer3; 447 private System.Windows.Forms.GroupBox selectDataGroupBox; 448 private System.Windows.Forms.GroupBox normalityGroupBox; 449 private System.Windows.Forms.GroupBox pairwiseTestGroupBox; 450 private System.Windows.Forms.GroupBox allGroupTestGroupBox; 451 private System.Windows.Forms.Label normalityLabel; 452 private System.Windows.Forms.Label groupCompLabel; 453 private System.Windows.Forms.Label label2; 454 private System.Windows.Forms.ComboBox groupCompComboBox; 455 private System.Windows.Forms.Button pairwiseCheckDataButton; 456 private System.Windows.Forms.Label label3; 457 private System.Windows.Forms.TextBox equalDistsTextBox; 306 458 } 307 459 }
Note: See TracChangeset
for help on using the changeset viewer.