9/4/2023 0 Comments Linear regression igor proThe single test for coincidental regression would also indicate that the three waves have coincident regressions.ĥ. In this case both the slopes and the elevations are determined to be the same. StatsLinearRegression /T=1/Q data1,data5,data6 You can also test waves of unequal lengths as in the following example: To run the test execute the command:Īs expected, FFc implies that the equal elevations hypothesis is rejected as is the possibility of coincidental regression. To see the results of the zero-slope hypothesis test on different data set we generate data that have zero slope and random noise:Ī graph pf data2 is shown above. Here the green traces correspond to the confidence interval while the blue traces correspond to the prediction interval (default single prediction). You can now add the two bands to the graph:ĪppendToGraph data1_CH,data1_CL,data1_PH,data1_PL StatsLinearRegression /T=1/Q/BCIW/BPIW data1 You can create confidence interval waves and prediction interval waves using Here the red trace corresponds to our input data and the black trace is the regression line. ModifyGraph lsize(regression1)=2,rgb(regression1)=(0,0,0) To plot the regression and the data curves execute the commands: The regression results above clearly reject this hypothesis with regression line given by: When a slope is not specified the null hypothesis is that the slope is zero and the t-statistic is not relevant. The results appear in the Linear Regression table (shown transposed): N The simple linear regression analysis is obtained by: ![]() Start by creating a wave with a known slope and additive Gaussian noise. StatsLinearRegression provides more statistical information/tests for single and multiple regressions. You can perform (linear) regression analysis using Igor's curve fitting operations. Wide-Angle Neutron Spin Echo Spectroscopy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |