Changeset 9742


Ignore:
Timestamp:
07/24/13 11:24:40 (8 years ago)
Author:
ascheibe
Message:

#2031 added a rich text box dialog for displaying formatted help texts

Location:
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/HeuristicLab.Analysis.Statistics-3.3.csproj

    r9712 r9742  
    116116    <Compile Include="ExpFitting.cs" />
    117117    <Compile Include="IFitting.cs" />
     118    <Compile Include="InfoBox.cs">
     119      <SubType>Form</SubType>
     120    </Compile>
     121    <Compile Include="InfoBox.Designer.cs">
     122      <DependentUpon>InfoBox.cs</DependentUpon>
     123    </Compile>
    118124    <Compile Include="LinearLeastSquaresFitting.cs" />
    119125    <Compile Include="LogFitting.cs" />
     
    155161  <ItemGroup>
    156162    <None Include="HeuristicLab.snk" />
     163    <EmbeddedResource Include="InfoResources\StatisticalTestsInfo.rtf" />
    157164    <None Include="Plugin.cs.frame" />
    158165    <None Include="Properties\AssemblyInfo.cs.frame" />
     
    168175  </ItemGroup>
    169176  <ItemGroup>
     177    <None Include="StatisticalTestsInfo.rtf" />
    170178    <None Include="VS2008ImageLibrary_Annotations_Default.png" />
    171179  </ItemGroup>
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/SampleSizeInfluenceView.cs

    r9717 r9742  
    161161
    162162    private void UpdateCaption() {
    163       Caption = Content != null ? Content.OptimizerName + " Box Plots" : ViewAttribute.GetViewName(GetType());
     163      Caption = Content != null ? Content.OptimizerName + " Sample Size Influences" : ViewAttribute.GetViewName(GetType());
    164164    }
    165165
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.cs

    r9713 r9742  
    280280
    281281    private void infoLabel_DoubleClick(object sender, EventArgs e) {
    282       using (TextDialog dialog = new TextDialog("Description of statistical tests", toolTip1.GetToolTip(this.infoLabel), true)) {
     282      using (InfoBox dialog = new InfoBox("Description of statistical tests", typeof(StatisticalTestingView).Namespace + ".InfoResources.StatisticalTestsInfo.rtf")) {
    283283        dialog.ShowDialog(this);
    284284      }
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.designer.cs

    r9706 r9742  
    6565      this.splitContainer3 = new System.Windows.Forms.SplitContainer();
    6666      this.pairwiseTestGroupBox = new System.Windows.Forms.GroupBox();
     67      this.label3 = new System.Windows.Forms.Label();
     68      this.equalDistsTextBox = new System.Windows.Forms.TextBox();
     69      this.pairwiseCheckDataButton = new System.Windows.Forms.Button();
    6770      this.label2 = new System.Windows.Forms.Label();
    6871      this.groupCompComboBox = new System.Windows.Forms.ComboBox();
     
    7275      this.normalityLabel = new System.Windows.Forms.Label();
    7376      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();
    7777      this.contextMenuStrip1.SuspendLayout();
    7878      ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     
    228228      this.infoLabel.Size = new System.Drawing.Size(16, 16);
    229229      this.infoLabel.TabIndex = 17;
    230       this.toolTip1.SetToolTip(this.infoLabel, resources.GetString("infoLabel.ToolTip"));
     230      this.toolTip1.SetToolTip(this.infoLabel, "Double click for help");
    231231      this.infoLabel.DoubleClick += new System.EventHandler(this.infoLabel_DoubleClick);
    232232      //
     
    293293      this.pairwiseTestGroupBox.Text = "4. Pairwise Statistical Testing";
    294294      //
     295      // label3
     296      //
     297      this.label3.AutoSize = true;
     298      this.label3.Location = new System.Drawing.Point(9, 90);
     299      this.label3.Name = "label3";
     300      this.label3.Size = new System.Drawing.Size(74, 13);
     301      this.label3.TabIndex = 18;
     302      this.label3.Text = "Equal Groups:";
     303      this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
     304      //
     305      // equalDistsTextBox
     306      //
     307      this.equalDistsTextBox.Location = new System.Drawing.Point(95, 87);
     308      this.equalDistsTextBox.Name = "equalDistsTextBox";
     309      this.equalDistsTextBox.ReadOnly = true;
     310      this.equalDistsTextBox.Size = new System.Drawing.Size(149, 20);
     311      this.equalDistsTextBox.TabIndex = 18;
     312      //
     313      // pairwiseCheckDataButton
     314      //
     315      this.pairwiseCheckDataButton.Location = new System.Drawing.Point(6, 52);
     316      this.pairwiseCheckDataButton.Name = "pairwiseCheckDataButton";
     317      this.pairwiseCheckDataButton.Size = new System.Drawing.Size(92, 23);
     318      this.pairwiseCheckDataButton.TabIndex = 19;
     319      this.pairwiseCheckDataButton.Text = "Check Data";
     320      this.pairwiseCheckDataButton.UseVisualStyleBackColor = true;
     321      this.pairwiseCheckDataButton.Click += new System.EventHandler(this.pairwiseCheckDataButton_Click);
     322      //
    295323      // label2
    296324      //
     
    371399      this.selectDataGroupBox.TabStop = false;
    372400      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;
    401401      //
    402402      // StatisticalTestingView
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.resx

    r9353 r9742  
    188188    <value>17, 17</value>
    189189  </metadata>
    190   <data name="infoLabel.ToolTip" xml:space="preserve">
    191     <value>This view offers tools for statistical analysis.
    192 
    193 Check for normality of the data is done using the Jarque-Bera test.
    194 It requires a sample size of at least 5 samples.
    195 
    196 Statistical hypothesis testing between all groups is performed using the Kruskal-Wallis test.
    197 
    198 For pairwise comparision of the groups the Mann-Whitney U test is used.
    199 It also requires sample sizes of at least 5 samples.
    200 
    201 The p-values calculated by the statistical tests are interpreted as follows:
    202 The null hypothesis states that the groups which are compared have the same distribution.
    203 A p-value &lt; 0.05 (this value is often chosen as significance level)  means the null hypothesis is rejected,
    204 which therefore means that the distributions are not equal.
    205 
    206 For the pariwise statistical test, in addition to the p-value, Cohen's d and Hedges' g are calculated.
    207 According to Wikipedia, these values can be interpreted as follows: "A lower Cohen's d indicates a necessity of larger sample sizes, and vice versa."</value>
    208   </data>
    209190</root>
Note: See TracChangeset for help on using the changeset viewer.