Changeset 9936 for branches/StatisticalTesting
- Timestamp:
- 09/04/13 17:14:11 (11 years ago)
- Location:
- branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/CorrelationView.cs
r9912 r9936 202 202 } 203 203 204 if (resultVals.Contains(double.NaN) 205 || resultRowVals.Contains(double.NaN) 206 || resultVals.Contains(double.NegativeInfinity) 207 || resultVals.Contains(double.PositiveInfinity) 208 || resultRowVals.Contains(double.NegativeInfinity) 209 || resultRowVals.Contains(double.PositiveInfinity) 210 || resultRowVals.Count != resultVals.Count) { 204 resultVals = resultVals.Where(x => !double.IsNaN(x) && !double.IsNegativeInfinity(x) && !double.IsPositiveInfinity(x)).ToList(); 205 resultRowVals = resultRowVals.Where(x => !double.IsNaN(x) && !double.IsNegativeInfinity(x) && !double.IsPositiveInfinity(x)).ToList(); 206 207 if (resultRowVals.Count == 0 || resultVals.Count == 0 || resultRowVals.Count != resultVals.Count) { 211 208 dt[j, 0] = double.NaN; 212 209 dt[j++, 1] = double.NaN; -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.cs
r9923 r9936 288 288 } 289 289 290 for (int i = 0; i < res.Count(); i++) { 291 if (res[i] < 0.1) { 292 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; })); 293 } else { 294 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; })); 295 } 290 // p-value is below significance level and thus the null hypothesis (data is normally distributed) is rejected. 291 if (res.Any(x => x < 0.05)) { 292 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; })); 293 } else { 294 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; })); 296 295 } 297 296 } -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.designer.cs
r9922 r9936 88 88 // stringConvertibleMatrixView 89 89 // 90 this.stringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 91 | System.Windows.Forms.AnchorStyles.Left) 90 this.stringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 91 | System.Windows.Forms.AnchorStyles.Left) 92 92 | System.Windows.Forms.AnchorStyles.Right))); 93 93 this.stringConvertibleMatrixView.Caption = "StringConvertibleMatrix View"; … … 138 138 // resultComboBox 139 139 // 140 this.resultComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 140 this.resultComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 141 141 | System.Windows.Forms.AnchorStyles.Right))); 142 142 this.resultComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; … … 162 162 // pValTextBox 163 163 // 164 this.pValTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 164 this.pValTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 165 165 | System.Windows.Forms.AnchorStyles.Right))); 166 166 this.pValTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); … … 173 173 // groupComboBox 174 174 // 175 this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 175 this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 176 176 | System.Windows.Forms.AnchorStyles.Right))); 177 177 this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; … … 186 186 // splitContainer1 187 187 // 188 this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 189 | System.Windows.Forms.AnchorStyles.Left) 188 this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 189 | System.Windows.Forms.AnchorStyles.Left) 190 190 | System.Windows.Forms.AnchorStyles.Right))); 191 191 this.splitContainer1.Location = new System.Drawing.Point(6, 19); … … 208 208 // splitContainer3 209 209 // 210 this.splitContainer3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 211 | System.Windows.Forms.AnchorStyles.Left) 210 this.splitContainer3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 211 | System.Windows.Forms.AnchorStyles.Left) 212 212 | System.Windows.Forms.AnchorStyles.Right))); 213 213 this.splitContainer3.Location = new System.Drawing.Point(8, 3); … … 230 230 // pairwiseTestGroupBox 231 231 // 232 this.pairwiseTestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 233 | System.Windows.Forms.AnchorStyles.Left) 232 this.pairwiseTestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 233 | System.Windows.Forms.AnchorStyles.Left) 234 234 | System.Windows.Forms.AnchorStyles.Right))); 235 235 this.pairwiseTestGroupBox.Controls.Add(this.pairwiseStringConvertibleMatrixView); … … 240 240 this.pairwiseTestGroupBox.Controls.Add(this.groupCompComboBox); 241 241 this.pairwiseTestGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 242 this.pairwiseTestGroupBox.Location = new System.Drawing.Point(3, 308);242 this.pairwiseTestGroupBox.Location = new System.Drawing.Point(3, 289); 243 243 this.pairwiseTestGroupBox.Name = "pairwiseTestGroupBox"; 244 244 this.pairwiseTestGroupBox.Size = new System.Drawing.Size(388, 229); … … 249 249 // pairwiseStringConvertibleMatrixView 250 250 // 251 this.pairwiseStringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 252 | System.Windows.Forms.AnchorStyles.Left) 251 this.pairwiseStringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 252 | System.Windows.Forms.AnchorStyles.Left) 253 253 | System.Windows.Forms.AnchorStyles.Right))); 254 254 this.pairwiseStringConvertibleMatrixView.Caption = "StringConvertibleMatrix View"; … … 287 287 // equalDistsTextBox 288 288 // 289 this.equalDistsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 289 this.equalDistsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 290 290 | System.Windows.Forms.AnchorStyles.Right))); 291 291 this.equalDistsTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); … … 308 308 // groupCompComboBox 309 309 // 310 this.groupCompComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 310 this.groupCompComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 311 311 | System.Windows.Forms.AnchorStyles.Right))); 312 312 this.groupCompComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; … … 321 321 // allGroupTestGroupBox 322 322 // 323 this.allGroupTestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 323 this.allGroupTestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 324 324 | System.Windows.Forms.AnchorStyles.Right))); 325 325 this.allGroupTestGroupBox.Controls.Add(this.groupCompLabel); … … 327 327 this.allGroupTestGroupBox.Controls.Add(this.pValTextBox); 328 328 this.allGroupTestGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 329 this.allGroupTestGroupBox.Location = new System.Drawing.Point(3, 2 56);329 this.allGroupTestGroupBox.Location = new System.Drawing.Point(3, 237); 330 330 this.allGroupTestGroupBox.Name = "allGroupTestGroupBox"; 331 331 this.allGroupTestGroupBox.Size = new System.Drawing.Size(388, 46); … … 347 347 // normalityGroupBox 348 348 // 349 this.normalityGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 349 this.normalityGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 350 350 | System.Windows.Forms.AnchorStyles.Right))); 351 351 this.normalityGroupBox.Controls.Add(this.label4); … … 353 353 this.normalityGroupBox.Controls.Add(this.normalityLabel); 354 354 this.normalityGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 355 this.normalityGroupBox.Location = new System.Drawing.Point(3, 107);355 this.normalityGroupBox.Location = new System.Drawing.Point(3, 88); 356 356 this.normalityGroupBox.Name = "normalityGroupBox"; 357 357 this.normalityGroupBox.Size = new System.Drawing.Size(388, 143); … … 372 372 // normalityStringConvertibleMatrixView 373 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) 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 376 | System.Windows.Forms.AnchorStyles.Right))); 377 377 this.normalityStringConvertibleMatrixView.Caption = "StringConvertibleMatrix View"; … … 398 398 // selectDataGroupBox 399 399 // 400 this.selectDataGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 400 this.selectDataGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 401 401 | System.Windows.Forms.AnchorStyles.Right))); 402 402 this.selectDataGroupBox.Controls.Add(this.splitContainer1); 403 403 this.selectDataGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 404 this.selectDataGroupBox.Location = new System.Drawing.Point(3, 22);404 this.selectDataGroupBox.Location = new System.Drawing.Point(3, 3); 405 405 this.selectDataGroupBox.Name = "selectDataGroupBox"; 406 406 this.selectDataGroupBox.Size = new System.Drawing.Size(388, 79); … … 414 414 this.Name = "StatisticalTestingView"; 415 415 this.Size = new System.Drawing.Size(1089, 546); 416 this.Controls.SetChildIndex(this.splitContainer3, 0);417 416 this.contextMenuStrip1.ResumeLayout(false); 418 417 this.splitContainer1.Panel1.ResumeLayout(false); -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.resx
r9917 r9936 118 118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 119 119 </resheader> 120 <metadata name="helpToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">121 <value>17, 17</value>122 </metadata>123 120 <metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 124 121 <value>133, 17</value>
Note: See TracChangeset
for help on using the changeset viewer.