Changeset 9913 for branches/StatisticalTesting
- Timestamp:
- 08/27/13 16:27:15 (12 years ago)
- Location:
- branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/SampleSizeInfluenceView.Designer.cs
r9706 r9913 73 73 this.xAxisLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 74 74 this.xAxisLabel.AutoSize = true; 75 this.xAxisLabel.Location = new System.Drawing.Point( 261, 256);75 this.xAxisLabel.Location = new System.Drawing.Point(139, 256); 76 76 this.xAxisLabel.Name = "xAxisLabel"; 77 this.xAxisLabel.Size = new System.Drawing.Size( 15, 13);77 this.xAxisLabel.Size = new System.Drawing.Size(62, 13); 78 78 this.xAxisLabel.TabIndex = 12; 79 this.xAxisLabel.Text = " x:";79 this.xAxisLabel.Text = "Group Size:"; 80 80 // 81 81 // yAxisLabel … … 101 101 // chart 102 102 // 103 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 104 | System.Windows.Forms.AnchorStyles.Left) 103 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 104 | System.Windows.Forms.AnchorStyles.Left) 105 105 | System.Windows.Forms.AnchorStyles.Right))); 106 106 chartArea1.Name = "ChartArea1"; … … 159 159 // 160 160 this.xAxisComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 161 this.xAxisComboBox.Location = new System.Drawing.Point(2 82, 253);161 this.xAxisComboBox.Location = new System.Drawing.Point(207, 253); 162 162 this.xAxisComboBox.Name = "xAxisComboBox"; 163 this.xAxisComboBox.Size = new System.Drawing.Size( 134, 20);163 this.xAxisComboBox.Size = new System.Drawing.Size(238, 20); 164 164 this.xAxisComboBox.TabIndex = 25; 165 165 this.xAxisComboBox.TextChanged += new System.EventHandler(this.xAxisComboBox_TextChanged); … … 168 168 // 169 169 this.defineSampleSizeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 170 this.defineSampleSizeButton.Location = new System.Drawing.Point(4 22, 252);170 this.defineSampleSizeButton.Location = new System.Drawing.Point(451, 252); 171 171 this.defineSampleSizeButton.Name = "defineSampleSizeButton"; 172 this.defineSampleSizeButton.Size = new System.Drawing.Size( 118, 21);172 this.defineSampleSizeButton.Size = new System.Drawing.Size(89, 21); 173 173 this.defineSampleSizeButton.TabIndex = 24; 174 this.defineSampleSizeButton.Text = " Define SampleSize";174 this.defineSampleSizeButton.Text = "Set Group Size"; 175 175 this.defineSampleSizeButton.UseVisualStyleBackColor = true; 176 176 this.defineSampleSizeButton.Click += new System.EventHandler(this.defineSampleSizeButton_Click); … … 193 193 // statisticsGroupBox 194 194 // 195 this.statisticsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 196 | System.Windows.Forms.AnchorStyles.Left) 195 this.statisticsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 196 | System.Windows.Forms.AnchorStyles.Left) 197 197 | System.Windows.Forms.AnchorStyles.Right))); 198 198 this.statisticsGroupBox.Controls.Add(this.statisticsMatrixView); -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.cs
r9911 r9913 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Threading.Tasks; 25 26 using System.Windows.Forms; 26 27 using HeuristicLab.Core.Views; … … 31 32 32 33 namespace HeuristicLab.Analysis.Statistics { 33 [View("Statistical Test ing")]34 [View("Statistical Tests")] 34 35 [Content(typeof(RunCollection), false)] 35 36 public sealed partial class StatisticalTestingView : ItemView { … … 63 64 64 65 private void UpdateCaption() { 65 Caption = Content != null ? Content.OptimizerName + " Statistical Test ing" : ViewAttribute.GetViewName(GetType());66 Caption = Content != null ? Content.OptimizerName + " Statistical Tests" : ViewAttribute.GetViewName(GetType()); 66 67 } 67 68 … … 223 224 } 224 225 225 private void testButton_Click(object sender, EventArgs e) { 226 private void resultComboBox_SelectedValueChanged(object sender, EventArgs e) { 227 RebuildDataTable(); 228 ResetUI(); 229 CalculateValues(); 230 } 231 232 private void groupComboBox_SelectedValueChanged(object sender, EventArgs e) { 233 FillCompComboBox(); 234 RebuildDataTable(); 235 ResetUI(); 236 CalculateValues(); 237 } 238 239 private void CalculateValues() { 240 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().AddOperationProgressToView(this, "Calculating..."); 241 Task.Factory.StartNew(CalculateValuesAsync); 242 } 243 244 private void CalculateValuesAsync() { 245 TestAllGroups(); 246 CalculateNormality(); 247 CalculateNormalityDetails(); 248 CalculatePairwiseTest(); 249 CalculatePairwiseTestDetails(); 250 251 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this); 252 } 253 254 private void CalculatePairwise() { 255 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().AddOperationProgressToView(this, "Calculating..."); 256 Task.Factory.StartNew(CalculatePairwiseAsync); 257 } 258 259 private void CalculatePairwiseAsync() { 260 CalculatePairwiseTest(); 261 CalculatePairwiseTestDetails(); 262 263 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this); 264 } 265 266 private void TestAllGroups() { 226 267 double pval = KruskalWallis.Test(data); 227 268 pValTextBox.Text = pval.ToString(); 228 269 if (pval < 0.05) { 229 groupCompLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default;270 this.Invoke(new Action(() => { groupCompLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; })); 230 271 } else { 231 groupCompLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning;232 } 233 } 234 235 private void normalDistButton_Click(object sender, EventArgs e) {272 this.Invoke(new Action(() => { groupCompLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; })); 273 } 274 } 275 276 private void CalculateNormality() { 236 277 double val; 237 278 List<double> res = new List<double>(); … … 244 285 for (int i = 0; i < res.Count(); i++) { 245 286 if (res[i] < 0.1) { 246 normalityLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning;287 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; })); 247 288 } else { 248 normalityLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; 249 } 250 } 251 } 252 253 private void resultComboBox_SelectedValueChanged(object sender, EventArgs e) { 254 RebuildDataTable(); 255 ResetUI(); 256 } 257 258 private void groupComboBox_SelectedValueChanged(object sender, EventArgs e) { 259 FillCompComboBox(); 260 RebuildDataTable(); 261 ResetUI(); 262 } 263 264 private void normalityDetails_Click(object sender, EventArgs e) { 289 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; })); 290 } 291 } 292 } 293 294 private void CalculateNormalityDetails() { 265 295 DoubleMatrix pValsMatrix = new DoubleMatrix(1, stringConvertibleMatrixView.Content.Columns); 266 296 pValsMatrix.ColumnNames = stringConvertibleMatrixView.Content.ColumnNames; … … 273 303 } 274 304 275 MainFormManager.MainForm.ShowContent(pValsMatrix); 276 } 277 278 private void pairwiseTestButton_Click(object sender, EventArgs e) { 305 this.Invoke(new Action(() => { normalityStringConvertibleMatrixView.Content = pValsMatrix; })); 306 } 307 308 private void CalculatePairwiseTest() { 309 string curItem = (string)groupCompComboBox.SelectedItem; 310 int colIndex = 0; 311 312 foreach (string col in stringConvertibleMatrixView.Content.ColumnNames) { 313 if (col == curItem) { 314 break; 315 } 316 colIndex++; 317 } 318 319 double mwuBothtails; 320 double mwuLefttail; 321 double mwuRighttail; 322 int cnt = 0; 323 324 for (int i = 0; i < data.Length; i++) { 325 if (i != colIndex) { 326 alglib.mannwhitneyutest(data[colIndex], data[colIndex].Length, data[i], data[i].Length, out mwuBothtails, out mwuLefttail, out mwuRighttail); 327 if (mwuBothtails > 0.05) { 328 cnt++; 329 } 330 } 331 } 332 333 double ratio = ((double)cnt) / (data.Length - 1) * 100.0; 334 equalDistsTextBox.Text = ratio.ToString() + " %"; 335 336 if (cnt == 0) { 337 this.Invoke(new Action(() => { pairwiseLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; })); 338 } else { 339 this.Invoke(new Action(() => { pairwiseLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; })); 340 } 341 } 342 343 private void CalculatePairwiseTestDetails() { 279 344 string curItem = (string)groupCompComboBox.SelectedItem; 280 345 int colIndex = 0; … … 305 370 } 306 371 307 MainFormManager.MainForm.ShowContent(pValsMatrix);372 this.Invoke(new Action(() => { pairwiseStringConvertibleMatrixView.Content = pValsMatrix; })); 308 373 } 309 374 … … 323 388 } 324 389 325 private void pairwiseCheckDataButton_Click(object sender, EventArgs e) { 326 string curItem = (string)groupCompComboBox.SelectedItem; 327 int colIndex = 0; 328 329 foreach (string col in stringConvertibleMatrixView.Content.ColumnNames) { 330 if (col == curItem) { 331 break; 332 } 333 colIndex++; 334 } 335 336 double mwuBothtails; 337 double mwuLefttail; 338 double mwuRighttail; 339 int cnt = 0; 340 341 for (int i = 0; i < data.Length; i++) { 342 if (i != colIndex) { 343 alglib.mannwhitneyutest(data[colIndex], data[colIndex].Length, data[i], data[i].Length, out mwuBothtails, out mwuLefttail, out mwuRighttail); 344 if (mwuBothtails > 0.05) { 345 cnt++; 346 } 347 } 348 } 349 350 double ratio = ((double)cnt) / (data.Length - 1) * 100.0; 351 equalDistsTextBox.Text = ratio.ToString() + " %"; 352 353 if (cnt == 0) { 354 pairwiseLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; 355 } else { 356 pairwiseLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; 357 } 390 private void groupCompComboBox_SelectedValueChanged(object sender, EventArgs e) { 391 CalculatePairwise(); 358 392 } 359 393 } -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.designer.cs
r9908 r9913 53 53 this.label1 = new System.Windows.Forms.Label(); 54 54 this.resultComboBox = new System.Windows.Forms.ComboBox(); 55 this.testButton = new System.Windows.Forms.Button();56 this.normalDistButton = new System.Windows.Forms.Button();57 55 this.lblPVal = new System.Windows.Forms.Label(); 58 56 this.pValTextBox = new System.Windows.Forms.TextBox(); 59 57 this.groupComboBox = new System.Windows.Forms.ComboBox(); 60 this.normalityDetails = new System.Windows.Forms.Button();61 this.pairwiseTestButton = new System.Windows.Forms.Button();62 58 this.infoLabel = new System.Windows.Forms.Label(); 63 59 this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); … … 65 61 this.splitContainer3 = new System.Windows.Forms.SplitContainer(); 66 62 this.pairwiseTestGroupBox = new System.Windows.Forms.GroupBox(); 63 this.pairwiseStringConvertibleMatrixView = new HeuristicLab.Data.Views.StringConvertibleMatrixView(); 67 64 this.pairwiseLabel = new System.Windows.Forms.Label(); 68 65 this.label3 = new System.Windows.Forms.Label(); 69 66 this.equalDistsTextBox = new System.Windows.Forms.TextBox(); 70 this.pairwiseCheckDataButton = new System.Windows.Forms.Button();71 67 this.label2 = new System.Windows.Forms.Label(); 72 68 this.groupCompComboBox = new System.Windows.Forms.ComboBox(); … … 74 70 this.groupCompLabel = new System.Windows.Forms.Label(); 75 71 this.normalityGroupBox = new System.Windows.Forms.GroupBox(); 72 this.label4 = new System.Windows.Forms.Label(); 73 this.normalityStringConvertibleMatrixView = new HeuristicLab.Data.Views.StringConvertibleMatrixView(); 76 74 this.normalityLabel = new System.Windows.Forms.Label(); 77 75 this.selectDataGroupBox = new System.Windows.Forms.GroupBox(); … … 104 102 this.stringConvertibleMatrixView.ShowRowsAndColumnsTextBox = false; 105 103 this.stringConvertibleMatrixView.ShowStatisticalInformation = true; 106 this.stringConvertibleMatrixView.Size = new System.Drawing.Size(6 44, 416);104 this.stringConvertibleMatrixView.Size = new System.Drawing.Size(674, 534); 107 105 this.stringConvertibleMatrixView.TabIndex = 0; 108 106 // … … 147 145 this.resultComboBox.Location = new System.Drawing.Point(62, 3); 148 146 this.resultComboBox.Name = "resultComboBox"; 149 this.resultComboBox.Size = new System.Drawing.Size( 176, 21);147 this.resultComboBox.Size = new System.Drawing.Size(311, 21); 150 148 this.resultComboBox.TabIndex = 5; 151 149 this.resultComboBox.SelectedValueChanged += new System.EventHandler(this.resultComboBox_SelectedValueChanged); 152 150 // 153 // testButton154 //155 this.testButton.Location = new System.Drawing.Point(6, 19);156 this.testButton.Name = "testButton";157 this.testButton.Size = new System.Drawing.Size(92, 23);158 this.testButton.TabIndex = 9;159 this.testButton.Text = "Test all Groups";160 this.testButton.UseVisualStyleBackColor = true;161 this.testButton.Click += new System.EventHandler(this.testButton_Click);162 //163 // normalDistButton164 //165 this.normalDistButton.Location = new System.Drawing.Point(6, 19);166 this.normalDistButton.Name = "normalDistButton";167 this.normalDistButton.Size = new System.Drawing.Size(92, 23);168 this.normalDistButton.TabIndex = 11;169 this.normalDistButton.Text = "Check Data";170 this.normalDistButton.UseVisualStyleBackColor = true;171 this.normalDistButton.Click += new System.EventHandler(this.normalDistButton_Click);172 //173 151 // lblPVal 174 152 // 175 153 this.lblPVal.AutoSize = true; 176 this.lblPVal.Location = new System.Drawing.Point(6, 51);154 this.lblPVal.Location = new System.Drawing.Point(6, 22); 177 155 this.lblPVal.Name = "lblPVal"; 178 156 this.lblPVal.Size = new System.Drawing.Size(46, 13); … … 185 163 this.pValTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 186 164 | System.Windows.Forms.AnchorStyles.Right))); 187 this.pValTextBox.Location = new System.Drawing.Point(58, 48);165 this.pValTextBox.Location = new System.Drawing.Point(58, 19); 188 166 this.pValTextBox.Name = "pValTextBox"; 189 167 this.pValTextBox.ReadOnly = true; 190 this.pValTextBox.Size = new System.Drawing.Size( 189, 20);168 this.pValTextBox.Size = new System.Drawing.Size(302, 20); 191 169 this.pValTextBox.TabIndex = 13; 192 170 // … … 199 177 this.groupComboBox.Location = new System.Drawing.Point(62, 3); 200 178 this.groupComboBox.Name = "groupComboBox"; 201 this.groupComboBox.Size = new System.Drawing.Size( 176, 21);179 this.groupComboBox.Size = new System.Drawing.Size(311, 21); 202 180 this.groupComboBox.TabIndex = 14; 203 181 this.groupComboBox.SelectedValueChanged += new System.EventHandler(this.groupComboBox_SelectedValueChanged); 204 182 // 205 // normalityDetails206 //207 this.normalityDetails.Location = new System.Drawing.Point(6, 48);208 this.normalityDetails.Name = "normalityDetails";209 this.normalityDetails.Size = new System.Drawing.Size(92, 23);210 this.normalityDetails.TabIndex = 15;211 this.normalityDetails.Text = "Show Details";212 this.normalityDetails.UseVisualStyleBackColor = true;213 this.normalityDetails.Click += new System.EventHandler(this.normalityDetails_Click);214 //215 // pairwiseTestButton216 //217 this.pairwiseTestButton.Location = new System.Drawing.Point(6, 113);218 this.pairwiseTestButton.Name = "pairwiseTestButton";219 this.pairwiseTestButton.Size = new System.Drawing.Size(92, 23);220 this.pairwiseTestButton.TabIndex = 16;221 this.pairwiseTestButton.Text = "Show Details";222 this.pairwiseTestButton.UseVisualStyleBackColor = true;223 this.pairwiseTestButton.Click += new System.EventHandler(this.pairwiseTestButton_Click);224 //225 183 // infoLabel 226 184 // 227 185 this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 228 186 this.infoLabel.Image = ((System.Drawing.Image)(resources.GetObject("infoLabel.Image"))); 229 this.infoLabel.Location = new System.Drawing.Point( 234, 3);187 this.infoLabel.Location = new System.Drawing.Point(369, 3); 230 188 this.infoLabel.Name = "infoLabel"; 231 189 this.infoLabel.Size = new System.Drawing.Size(16, 16); … … 252 210 this.splitContainer1.Panel2.Controls.Add(this.groupByLabel); 253 211 this.splitContainer1.Panel2.Controls.Add(this.groupComboBox); 254 this.splitContainer1.Size = new System.Drawing.Size( 241, 54);212 this.splitContainer1.Size = new System.Drawing.Size(376, 54); 255 213 this.splitContainer1.SplitterDistance = 25; 256 214 this.splitContainer1.TabIndex = 18; … … 275 233 this.splitContainer3.Panel2.Controls.Add(this.normalityGroupBox); 276 234 this.splitContainer3.Panel2.Controls.Add(this.selectDataGroupBox); 277 this.splitContainer3.Size = new System.Drawing.Size( 913, 422);278 this.splitContainer3.SplitterDistance = 6 50;235 this.splitContainer3.Size = new System.Drawing.Size(1078, 540); 236 this.splitContainer3.SplitterDistance = 680; 279 237 this.splitContainer3.TabIndex = 20; 280 238 // 281 239 // pairwiseTestGroupBox 282 240 // 283 this.pairwiseTestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 284 | System.Windows.Forms.AnchorStyles.Right))); 241 this.pairwiseTestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 242 | System.Windows.Forms.AnchorStyles.Left) 243 | System.Windows.Forms.AnchorStyles.Right))); 244 this.pairwiseTestGroupBox.Controls.Add(this.pairwiseStringConvertibleMatrixView); 285 245 this.pairwiseTestGroupBox.Controls.Add(this.pairwiseLabel); 286 246 this.pairwiseTestGroupBox.Controls.Add(this.label3); 287 247 this.pairwiseTestGroupBox.Controls.Add(this.equalDistsTextBox); 288 this.pairwiseTestGroupBox.Controls.Add(this.pairwiseCheckDataButton);289 248 this.pairwiseTestGroupBox.Controls.Add(this.label2); 290 249 this.pairwiseTestGroupBox.Controls.Add(this.groupCompComboBox); 291 this.pairwiseTestGroupBox.Controls.Add(this.pairwiseTestButton); 292 this.pairwiseTestGroupBox.Location = new System.Drawing.Point(3, 273); 250 this.pairwiseTestGroupBox.Location = new System.Drawing.Point(3, 308); 293 251 this.pairwiseTestGroupBox.Name = "pairwiseTestGroupBox"; 294 this.pairwiseTestGroupBox.Size = new System.Drawing.Size( 253, 145);252 this.pairwiseTestGroupBox.Size = new System.Drawing.Size(388, 229); 295 253 this.pairwiseTestGroupBox.TabIndex = 22; 296 254 this.pairwiseTestGroupBox.TabStop = false; 297 255 this.pairwiseTestGroupBox.Text = "4. Pairwise Statistical Testing"; 298 256 // 257 // pairwiseStringConvertibleMatrixView 258 // 259 this.pairwiseStringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 260 | System.Windows.Forms.AnchorStyles.Left) 261 | System.Windows.Forms.AnchorStyles.Right))); 262 this.pairwiseStringConvertibleMatrixView.Caption = "StringConvertibleMatrix View"; 263 this.pairwiseStringConvertibleMatrixView.Content = null; 264 this.pairwiseStringConvertibleMatrixView.Location = new System.Drawing.Point(6, 72); 265 this.pairwiseStringConvertibleMatrixView.Name = "pairwiseStringConvertibleMatrixView"; 266 this.pairwiseStringConvertibleMatrixView.ReadOnly = false; 267 this.pairwiseStringConvertibleMatrixView.ShowRowsAndColumnsTextBox = false; 268 this.pairwiseStringConvertibleMatrixView.ShowStatisticalInformation = false; 269 this.pairwiseStringConvertibleMatrixView.Size = new System.Drawing.Size(376, 151); 270 this.pairwiseStringConvertibleMatrixView.TabIndex = 19; 271 // 299 272 // pairwiseLabel 300 273 // 274 this.pairwiseLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 301 275 this.pairwiseLabel.AutoSize = true; 302 this.pairwiseLabel.Location = new System.Drawing.Point( 101, 57);276 this.pairwiseLabel.Location = new System.Drawing.Point(366, 43); 303 277 this.pairwiseLabel.MaximumSize = new System.Drawing.Size(16, 16); 304 278 this.pairwiseLabel.MinimumSize = new System.Drawing.Size(16, 16); … … 310 284 // 311 285 this.label3.AutoSize = true; 312 this.label3.Location = new System.Drawing.Point( 9, 90);286 this.label3.Location = new System.Drawing.Point(6, 49); 313 287 this.label3.Name = "label3"; 314 288 this.label3.Size = new System.Drawing.Size(74, 13); … … 321 295 this.equalDistsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 322 296 | System.Windows.Forms.AnchorStyles.Right))); 323 this.equalDistsTextBox.Location = new System.Drawing.Point( 95, 87);297 this.equalDistsTextBox.Location = new System.Drawing.Point(86, 46); 324 298 this.equalDistsTextBox.Name = "equalDistsTextBox"; 325 299 this.equalDistsTextBox.ReadOnly = true; 326 this.equalDistsTextBox.Size = new System.Drawing.Size( 152, 20);300 this.equalDistsTextBox.Size = new System.Drawing.Size(274, 20); 327 301 this.equalDistsTextBox.TabIndex = 18; 328 //329 // pairwiseCheckDataButton330 //331 this.pairwiseCheckDataButton.Location = new System.Drawing.Point(6, 52);332 this.pairwiseCheckDataButton.Name = "pairwiseCheckDataButton";333 this.pairwiseCheckDataButton.Size = new System.Drawing.Size(92, 23);334 this.pairwiseCheckDataButton.TabIndex = 19;335 this.pairwiseCheckDataButton.Text = "Check Data";336 this.pairwiseCheckDataButton.UseVisualStyleBackColor = true;337 this.pairwiseCheckDataButton.Click += new System.EventHandler(this.pairwiseCheckDataButton_Click);338 302 // 339 303 // label2 … … 354 318 this.groupCompComboBox.Location = new System.Drawing.Point(123, 19); 355 319 this.groupCompComboBox.Name = "groupCompComboBox"; 356 this.groupCompComboBox.Size = new System.Drawing.Size( 124, 21);320 this.groupCompComboBox.Size = new System.Drawing.Size(259, 21); 357 321 this.groupCompComboBox.TabIndex = 17; 322 this.groupCompComboBox.SelectedValueChanged += new System.EventHandler(this.groupCompComboBox_SelectedValueChanged); 358 323 // 359 324 // allGroupTestGroupBox … … 362 327 | System.Windows.Forms.AnchorStyles.Right))); 363 328 this.allGroupTestGroupBox.Controls.Add(this.groupCompLabel); 364 this.allGroupTestGroupBox.Controls.Add(this.testButton);365 329 this.allGroupTestGroupBox.Controls.Add(this.lblPVal); 366 330 this.allGroupTestGroupBox.Controls.Add(this.pValTextBox); 367 this.allGroupTestGroupBox.Location = new System.Drawing.Point(3, 189);331 this.allGroupTestGroupBox.Location = new System.Drawing.Point(3, 256); 368 332 this.allGroupTestGroupBox.Name = "allGroupTestGroupBox"; 369 this.allGroupTestGroupBox.Size = new System.Drawing.Size( 253, 78);333 this.allGroupTestGroupBox.Size = new System.Drawing.Size(388, 46); 370 334 this.allGroupTestGroupBox.TabIndex = 21; 371 335 this.allGroupTestGroupBox.TabStop = false; … … 374 338 // groupCompLabel 375 339 // 340 this.groupCompLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 376 341 this.groupCompLabel.AutoSize = true; 377 this.groupCompLabel.Location = new System.Drawing.Point( 104, 24);342 this.groupCompLabel.Location = new System.Drawing.Point(366, 22); 378 343 this.groupCompLabel.MaximumSize = new System.Drawing.Size(16, 16); 379 344 this.groupCompLabel.MinimumSize = new System.Drawing.Size(16, 16); … … 386 351 this.normalityGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 387 352 | System.Windows.Forms.AnchorStyles.Right))); 353 this.normalityGroupBox.Controls.Add(this.label4); 354 this.normalityGroupBox.Controls.Add(this.normalityStringConvertibleMatrixView); 388 355 this.normalityGroupBox.Controls.Add(this.normalityLabel); 389 this.normalityGroupBox.Controls.Add(this.normalDistButton);390 this.normalityGroupBox.Controls.Add(this.normalityDetails);391 356 this.normalityGroupBox.Location = new System.Drawing.Point(3, 107); 392 357 this.normalityGroupBox.Name = "normalityGroupBox"; 393 this.normalityGroupBox.Size = new System.Drawing.Size( 253, 76);358 this.normalityGroupBox.Size = new System.Drawing.Size(388, 143); 394 359 this.normalityGroupBox.TabIndex = 20; 395 360 this.normalityGroupBox.TabStop = false; 396 361 this.normalityGroupBox.Text = "2. Check for Normal Distribution"; 397 362 // 363 // label4 364 // 365 this.label4.AutoSize = true; 366 this.label4.Location = new System.Drawing.Point(6, 16); 367 this.label4.Name = "label4"; 368 this.label4.Size = new System.Drawing.Size(135, 13); 369 this.label4.TabIndex = 18; 370 this.label4.Text = "Data is normally distributed:"; 371 // 372 // normalityStringConvertibleMatrixView 373 // 374 this.normalityStringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 375 | System.Windows.Forms.AnchorStyles.Left) 376 | System.Windows.Forms.AnchorStyles.Right))); 377 this.normalityStringConvertibleMatrixView.Caption = "StringConvertibleMatrix View"; 378 this.normalityStringConvertibleMatrixView.Content = null; 379 this.normalityStringConvertibleMatrixView.Location = new System.Drawing.Point(6, 35); 380 this.normalityStringConvertibleMatrixView.Name = "normalityStringConvertibleMatrixView"; 381 this.normalityStringConvertibleMatrixView.ReadOnly = false; 382 this.normalityStringConvertibleMatrixView.ShowRowsAndColumnsTextBox = false; 383 this.normalityStringConvertibleMatrixView.ShowStatisticalInformation = false; 384 this.normalityStringConvertibleMatrixView.Size = new System.Drawing.Size(373, 102); 385 this.normalityStringConvertibleMatrixView.TabIndex = 17; 386 // 398 387 // normalityLabel 399 388 // 400 389 this.normalityLabel.AutoSize = true; 401 this.normalityLabel.Location = new System.Drawing.Point(1 04, 24);390 this.normalityLabel.Location = new System.Drawing.Point(156, 16); 402 391 this.normalityLabel.MaximumSize = new System.Drawing.Size(16, 16); 403 392 this.normalityLabel.MinimumSize = new System.Drawing.Size(16, 16); … … 413 402 this.selectDataGroupBox.Location = new System.Drawing.Point(3, 22); 414 403 this.selectDataGroupBox.Name = "selectDataGroupBox"; 415 this.selectDataGroupBox.Size = new System.Drawing.Size( 253, 79);404 this.selectDataGroupBox.Size = new System.Drawing.Size(388, 79); 416 405 this.selectDataGroupBox.TabIndex = 19; 417 406 this.selectDataGroupBox.TabStop = false; … … 422 411 this.Controls.Add(this.splitContainer3); 423 412 this.Name = "StatisticalTestingView"; 424 this.Size = new System.Drawing.Size( 924, 428);413 this.Size = new System.Drawing.Size(1089, 546); 425 414 this.contextMenuStrip1.ResumeLayout(false); 426 415 this.splitContainer1.Panel1.ResumeLayout(false); … … 450 439 private System.Windows.Forms.Label label1; 451 440 private System.Windows.Forms.ComboBox resultComboBox; 452 private System.Windows.Forms.Button testButton;453 private System.Windows.Forms.Button normalDistButton;454 441 private System.Windows.Forms.Label lblPVal; 455 442 private System.Windows.Forms.TextBox pValTextBox; 456 443 private System.Windows.Forms.ComboBox groupComboBox; 457 private System.Windows.Forms.Button normalityDetails;458 private System.Windows.Forms.Button pairwiseTestButton;459 444 private System.Windows.Forms.Label infoLabel; 460 445 private System.Windows.Forms.ToolTip toolTip1; … … 471 456 private System.Windows.Forms.Label label2; 472 457 private System.Windows.Forms.ComboBox groupCompComboBox; 473 private System.Windows.Forms.Button pairwiseCheckDataButton;474 458 private System.Windows.Forms.Label label3; 475 459 private System.Windows.Forms.TextBox equalDistsTextBox; 476 460 private System.Windows.Forms.Label pairwiseLabel; 461 private Data.Views.StringConvertibleMatrixView normalityStringConvertibleMatrixView; 462 private Data.Views.StringConvertibleMatrixView pairwiseStringConvertibleMatrixView; 463 private System.Windows.Forms.Label label4; 477 464 } 478 465 }
Note: See TracChangeset
for help on using the changeset viewer.