Supplement 1. Data files, Limdep executable file, and Matlab executable files.
收藏WILEY2016-08-04 更新2026-04-17 收录
下载链接:
https://wiley.figshare.com/articles/dataset/Supplement_1_Data_files_Limdep_executable_file_and_Matlab_executable_files_/3511718/1
下载链接
链接失效反馈官方服务:
资源简介:
File List <b><i>All files at once</i></b> AllFiles.zip <b><i>Data files</i></b> NegBinMallardData.txt <br> BBSLand.csv <br> betasFIXEDC.csv <br> betasFIXEDP.csv <br> NegBinBeta.csv <br> NegBinCovBeta.csv <br> ObsCounts.csv <b><i>Limdep executable file</i></b> NegBinMallardRegression.lim <b><i>Matlab executable files</i></b> BBSmax.m <br> CalculateMuClump.m <br> CalculateXprime.m <br> CalculateXrSTAR.m <br> CalculateXrUniform.m <br> FindBeta0.m <br> FindRestStar.m <br> WriteBBSmaxOut.m DescriptionAllFiles.zip - Contains all of the following files zipped together. NegBinMallardData.txt - Contains input data for the negative binomial regression results reported in the paper. Used as input to the Limdep file NegBinMallardRegression.lim. The file is comma delimited and contains 53 columns and 2714 rows. The columns correspond to the variables listed below, and each row corresponds to an observation, i.e., a unique route stop-year combination. -- TABLE: Please see in attached file. -- To make sure the file was downloaded properly, compare the column sums to the following figures: -- TABLE: Please see in attached file. -- BBSLand.csv - Contains the amount of each land use type near all BBS route-stops in the Central Valley of California. The file is comma delimited and contains 10 columns and 819 rows. The columns correspond to the variables listed below, and each row corresponds to an individual route-stop in the Central Valley of California. -- TABLE: Please see in attached file. -- To make sure the file was downloaded properly, compare the column sums to the following figures: -- TABLE: Please see in attached file. -- betasFIXEDC.csv - Contains 500 draws from the multivariate normal sampling distribution of beta, including only the most important land use variables (orchards, orchards^2, wetlands, wetlands^2, rice, rice^2, and wetlands*rice), as estimated using the data in NegBinMallardData.txt and the Limdep file NegBinMallardRegression.lim. The results presented in the paper can be reproduced using this file. betasFIXEDP.csv - Contains 500 draws from the multivariate normal sampling distribution of beta, including all land use variables, as estimated using the data in NegBinMallardData.txt and the Limdep file NegBinMallardRegression.lim. The results presented in the paper can be reproduced using this file. NegBinBeta.csv - Contains the estimated values for beta that result from using the data in NegBinMallardData.txt and the Limdep file NegBinMallardRegression.lim. NegBinCovBeta.csv - Contains the estimated variance-covariance matrix for the sampling distribution of beta that results from using the data in NegBinMallardData.txt and the Limdep file NegBinMallardRegression.lim. ObsCounts.csv - Contains the observed counts of mallards at all BBS route-stops in the Central Valley of California between 1997-2001. NegBinMallardRegression.lim - The Limdep file used to execute the negative binomial count regression model. BBSmax.m - The main Matlab file used to execute the optimization model and comparison scenarios. All remaining *.m files are subroutines of BBSmax.m. <b>Instructions</b> To reproduce the results presented in the paper, follow these steps: 1. Save all files in a single directory. <br> 2. In the "NegBinMallardRegression.lim," "BBSmax.m," and "WriteBBSmaxOut.m" files, replace all occurrences of [directory] with the name of the directory in which you saved the files. <br> 3. Execute the "NegBinMallardRegression.lim" file using Limdep version 7.0. Note: This step is only needed if you want to verify the regression results reported in the paper, or to try alternative versions of the regression model. <br> 4. Execute the "BBSmax.m" file using Matlab version 6.5. This will produce the following output file: BBSmaxOut.txt - will contain the main results from the model. The summary results, which are reported in the paper in Table 4, are at the top of the file. Secondary results are given in four columns below the summary results. The four columns contain: (1) "rs," the route-stop number, (2) "conag," the amount of land that could be converted from agriculture to wetlands at the route-stop, (2) "rSTAR," the optimal amount of restoration to undertake at the route stop, and (4) "muSTAR," the average number of mallards expected to be counted at the route stop if the optimal amount of restoration is completed there. <br>
文件列表 <b><i>一键获取全量文件</i></b> AllFiles.zip
<b><i>数据文件</i></b> NegBinMallardData.txt<br>BBSLand.csv<br>betasFIXEDC.csv<br>betasFIXEDP.csv<br>NegBinBeta.csv<br>NegBinCovBeta.csv<br>ObsCounts.csv
<b><i>Limdep可执行文件</i></b> NegBinMallardRegression.lim
<b><i>Matlab脚本文件</i></b> BBSmax.m<br>CalculateMuClump.m<br>CalculateXprime.m<br>CalculateXrSTAR.m<br>CalculateXrUniform.m<br>FindBeta0.m<br>FindRestStar.m<br>WriteBBSmaxOut.m
文件说明
AllFiles.zip:将下述所有文件打包压缩而成的全量文件包。
NegBinMallardData.txt:包含本文报告的负二项回归(negative binomial regression)结果所需的输入数据,作为Limdep文件NegBinMallardRegression.lim的输入。该文件为逗号分隔格式,包含53列与2714行,列对应下述变量,每一行对应一组观测值,即唯一的样线-停歇点-年份组合。——表格:详见附件文件。——为确认文件下载无误,请将列总和与下述数值进行比对:——表格:详见附件文件。——
BBSLand.csv:包含美国加利福尼亚州中央谷所有BBS样线-停歇点周边各类土地利用类型的面积数据。该文件为逗号分隔格式,包含10列与819行,列对应下述变量,每一行代表中央谷内单个BBS样线-停歇点。——表格:详见附件文件。——为确认文件下载无误,请将列总和与下述数值进行比对:——表格:详见附件文件。——
betasFIXEDC.csv:包含从β的多元正态抽样分布中抽取的500组样本,仅纳入核心土地利用变量(果园、果园平方、湿地、湿地平方、水稻田、水稻田平方,以及湿地与水稻田的交互项),该分布基于NegBinMallardData.txt数据与NegBinMallardRegression.lim文件估算得到。利用该文件可复现本文报告的研究结果。
betasFIXEDP.csv:包含从β的多元正态抽样分布中抽取的500组样本,纳入全部土地利用变量,该分布基于NegBinMallardData.txt数据与NegBinMallardRegression.lim文件估算得到。利用该文件可复现本文报告的研究结果。
NegBinBeta.csv:包含基于NegBinMallardData.txt数据与NegBinMallardRegression.lim文件估算得到的β参数估计值。
NegBinCovBeta.csv:包含基于NegBinMallardData.txt数据与NegBinMallardRegression.lim文件估算得到的β抽样分布的方差-协方差矩阵。
ObsCounts.csv:包含1997年至2001年间,加利福尼亚州中央谷所有BBS样线-停歇点处观测到的绿头鸭数量。
NegBinMallardRegression.lim:用于执行负二项计数回归模型的Limdep脚本文件。
BBSmax.m:用于执行优化模型与对比场景的核心Matlab脚本文件。其余所有*.m文件均为BBSmax.m的子函数。
<b>复现指南</b>
如需复现本文报告的研究结果,请按以下步骤操作:
1. 将所有文件保存至同一目录。
2. 在`NegBinMallardRegression.lim`、`BBSmax.m`与`WriteBBSmaxOut.m`文件中,将所有`[directory]`替换为你保存文件的目录名称。
3. 使用Limdep 7.0版本执行`NegBinMallardRegression.lim`文件。注:仅当你需要验证本文报告的回归结果,或尝试构建回归模型的变体版本时,才需要执行此步骤。
4. 使用Matlab 6.5版本执行`BBSmax.m`文件,将生成如下输出文件:
- BBSmaxOut.txt:包含模型的核心结果。本文表4中报告的汇总结果位于文件顶部,汇总结果下方附带四列次要结果:
1. `rs`:样线-停歇点编号
2. `conag`:该样线-停歇点处可从农用地转换为湿地的土地面积
3. `rSTAR`:该样线-停歇点处最优的生态修复规模
4. `muSTAR`:若完成该最优规模的生态修复,该样线-停歇点处预期观测到的绿头鸭平均数量
创建时间:
2016-08-04



