I will assume that you have a data table with a row for each measurement. There are data columns for the measurement and the grouping variables. The grouping variables are named Day (1-20), Run (1-2), and Replicate (1-2). There will be a total of 80 rows in your table.
There are a couple of platforms that can compute the variance components for you. Both of them will give you the estimates but each offers unique additional information about the estimates and about the assumptions of the model. We will start with the Fit Least Squares platform.
- Select Analyze > Fit Model.
- Select Measurement and click Y.
- Select Day and Run in the list of columns on the left.
- Click Add.
- Select Day in the list of columns and select Run in the list of effects.
- Click Nest.
- Select Day and Run[Day] in the list of effects.
- Click the red triangle next to Attributes and select Random Effect.
- Check your dialog against the picture below and when they agree, click Run.
The variance components are found in the Var Component column in the REML Variance Component Estimates report in the Fit Least Squares window.
The variability chart is another good way to get the estimates.
- Select Analyze > Quality and Process > Variability / Attribute Gauge Chart.
- Select Measurement and click Y, Response.
- Select Day and Run and click X, Grouping.
- Click Decide Later and select Nested for Model Type.
- Check that you dialog agrees with the picture below and click OK.
- Click the red triangle next to Variability Gauge and select Variance Components.
- Click OK.
The results from the two platforms differ. First, the model in the Variability Gauge platform includes an interaction term that is not part of the model used in the Fit Least Squares platform. Second, the estimation method is different. The first platform used REML and the second platform used a Bayesian technique. The reason is that the Day and Run variances are 0 in my simulated measurements, so the estimates can vary about 0. The first platform allows for negative estimates but you can change that behavior. The second platform detects the negative estimate and switches methods to give only positive estimates, but you can change that behavior.