使用R进行 [ Laplace Trend Test ](https://accendoreliability.com/laplaces-trend-
test/ “Laplace Trend Test”) 和SRGMs模型拟合。
![Laplace Trend Test](https://www.researchgate.net/profile/Michael-
Lyu/publication/3152909/figure/fig2/AS:394664013254656@1471106641017/Laplace-
trend-test-for-the-second-data-set_Q320.jpg)
Requirement
Learn and apply R to carry out Laplace Trend Test and SRGMs model fitting on
both given dataset (data1.csv and data2.csv) and record the results as well as
the source code in one document:
- The Laplace Trend Test results. This can be shown in the format of a graph, as shown below. In the graph, the upper-bound and lower-bound, corresponding to 0.025 and 0.975 quantile of a standard normal distribution, should be given. You may use R’s plot() function here.
- The SRGMs fitting results collected from Rsrat, including the estimated parameter values and the fitted curves. Plot original m(t) and fitted m(t) curves. Also plot (t) curves with the fitted parameters for all the models.
Please first read the examples provided in https://github.com/SwReliab/Rsrat
Then, fit the data with some/all types of models they provide.
Note: - Please search and learn how to import a csv file in R and extract the data from it.
- To install Rsrat, you might need to install “Rtools” on your computer.