Supplement 1. SAS program code to estimate regression slopes and then test equivalence, and Ambystoma data.
收藏WILEY2016-08-05 更新2026-04-17 收录
下载链接:
https://wiley.figshare.com/articles/dataset/Supplement_1_SAS_program_code_to_estimate_regression_slopes_and_then_test_equivalence_and_Ambystoma_data_/3524840/1
下载链接
链接失效反馈官方服务:
资源简介:
File List EquivSlope.sas -- EquivSlope.sas: SAS (SAS 1999) program code to estimate regression slopes, assuming ar(1) errors, then test equivalence. Ambystoma.txt -- Ambystoma data set. Description The file "EquivSlope.sas" is SAS (SAS 1999) program code to estimate regression slopes, assuming ar(1) errors, then test equivalence. The code was written for SAS version 8.2. It produces identical results in SAS version 9.0. Comments are the text surrounded by /* and */. The first data step (data trend;) reads the raw data and produces a SAS data set with one observation per species and year. The proc mixed step estimates the regression slope for a log-linear model with ar(1), i.e., autocorrelated at lag 1, errors. Parameter estimates are stored in the data set named parms. The slopes are identified as effect = ‘year’. The second data step (data tests;) does the equivalence test calculations for the slope, using an equivalence interval of (-0.0346, 0.0346). LT is the <i>t</i> statistic for testing H0a (slope less than lower boundary). UT is the t statistic for testing H0b (slope greater than upper boundary). LP and UP are the corresponding <i>P</i> values. This information is saved in a text file (ests.txt) and a SAS data set. The final proc print step prints the equivalence test results. The file "Ambystoma.txt" is an <i>Ambystoma</i> data set. The first line is a header line with variable names. Subsequent lines contain the species (<i>A.</i> <i>talpoideum</i> or <i>A</i>. <i>tigrinum</i>), the year, and the count of breeding females.
创建时间:
2016-08-05



