Skip to content

Instructions: Conducting a power analysis in Neuropower

Taylor Salo edited this page Feb 28, 2020 · 1 revision

In the OVERVIEW tab (above “Data location”, to the left of “START”) you can see the instructions to run the power analysis, but here you'll have a few additional details, in case you get lost/have questions.

  1. Click Start
  • In “Data Location”, you have 1 of 3 options:
    • Choose the nifty file that contains your pilot dataset (this could come from AFNI, FSL, or any other nifty-file format)
      • If choosing this option, click on “Choose File” under “Upload”
        • If uploaded successfully, you will see your file name next to “Choose File”. OR
    • Upload the statistical map for that particular brain task. OR
    • Copy the pilot dataset from an open database source, such as Neurovault
  • In “Mask location (optional)”
    • If you have a mask, or brain area you want to restrict your analysis to, upload the file here. This is a file you would have in your computer. Make sure it’s in a nifty file.
      • If you choose this option, click “Choose File” to upload your file.
    • If you decide not to upload any masks, neuropower will take all the non-null voxels to calculate power.
  • In “Design specifications”
    • “Are the data Z- or T-values?”
      • Whether the data are Z/T-values depends on the data you are going to use for your calculation.
        • Usually, your data type will be specified in your file name.
        • But, for instance, if the data coming from the open database source is a Z map type, then you’d choose the Z-value.
          • You can always find the published paper to find the parameters you’d need.
  • In “What is the screening threshold, also known as the clusterforming threshold or the excursion threshold (either p-value or z-value units)?”
    • For p-values, usually 0.05 is used, but the threshold can vary depended on your research question and experiment design.
      • If you are retrieving your data from an open source, refer to the published study.
  • In "How many subjects does the group map represent?”
    • This is the number of subjects included in the pilot study.
  • In “Is this a one-sample or a two-sample test?”
    • Again, this depends on the nature of your experiment.
    • If data coming from an open source, refer to the paper.
  • In “At which alpha-level are the statistical tests carried out?”
    • In the majority of cases, the alpha level will be 0.05, but your research questions and design could modify this level(e.g., 0.01).
    • If data coming from an open source, refer to the publication.
  • In “Do you want to manually specify the smoothness or estimate from the data?”
    • If you have the parameters for the smoothness and voxel size of your data in nm, you can use these measures.
      • Select “Manual”
      • Add the parameters for smoothness and voxel size.
    • Although, they note estimating smoothness on statistical maps leads to biases, the degree of biases will depend on your ROIs and purposes underlying your power analysis.
  • Click “Submit Parameters”
  1. “Viewer”
  • If you use data from an open source, such as neurovault, you may automatically be redirected to this section where you’ll be able to see the brain Z-/T-map.
  • You may also see this brain map if you uploaded a statistical map
  1. Click “Peak Table”
  • If you did not use a statistical map or an open source, you will not be directed to “Viewer” and instead to “Peak Table”.
  • Peak table will show you the coordinates, peak values, and p-values for each peak Z or T value (depending on your data). It basically retrieves each local maxima in the map.
    • Keep in mind that depending on the size of your data, this section may take a while to load. 4.Click “Model Fit”
  • This tab will basically show you whether your power analysis is valid or not, given the intention to find the alternative distribution of peaks. This calculation is based on the mean, standard deviation of the alternative hypothesis, and the weights of the null and alternative distribution of your data.
    • A good indication of whether you analysis is valid or not is whether the total distribution (blue) line and the alternative distribution (red) line merge. 5.Click “Power Calculation”
  • You will first see the power curves. If you hover over them, you can see the estimates of power for different sample size.
  • If, on the other hand, you need a precise sample size given a specific power value, you should fill out the form underneath “Power”
    • MCP* = Multiple Comparison Procedure
      • You will be prompted to choose from 1 of 3 MCPs: Random-Field Theory, Bonferroni, Benjamini-Hohchberg, and Uncorrected
    • This decision will be based on your design and method of analysis
  • Sample Size
    • Leave this blank
  • Power
    • The power percentage will depend on your design. 80% is the most common threshold used.
    • Make sure to set the power in decimals, not in percentage (e.g., 0.8)
  • Finally, if you have a number of subjects for which you want to find its power, specify that number in “Sample Size”.
    • If you choose this option, You would have to choose 1 of the 3 options under “MCP*”
    • Make sure to leave “Power” blank. 6.Click “Submit Parameters”
  • At the bottom you will see a message indicating the number of subjects needed to obtain statistical power at the percentage you chose.
  • If you provided a Sample Size, NeuroPower would give you the power percentage you requested.

For additional details, refer to the following link: http://neuropowertools.org/neuropower/tutorial/