<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Bootstrap Confidence Interval Variance Partitioning Coefficient in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-Confidence-Interval-Variance-Partitioning-Coefficient/m-p/774617#M37979</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4 TS Level 1M3. I am trying to bootstrap confidence intervals around variance partitioning coefficients for hierarchical data. My model for calculating my VPC is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc mixed data= lowserum plots=residualpanel;&lt;BR /&gt;Class id plate lot;&lt;BR /&gt;Model Dmm= id;&lt;BR /&gt;Random lot plate(lot) id(plate lot);&lt;BR /&gt;Title "Agreement about Diameter";&lt;BR /&gt;Title2 "Low serum";&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To calculate my confidence intervals, I am using the suggestions from&amp;nbsp;&lt;A href="https://stats.idre.ucla.edu/sas/faq/how-can-i-bootstrap-estimates-in-sas/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/faq/how-can-i-bootstrap-estimates-in-sas/&lt;/A&gt;&amp;nbsp;with the following code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sort data=lowserum;&lt;BR /&gt;by ID;&lt;BR /&gt;%let rep=500;&lt;BR /&gt;proc surveyselect data=lowserum out=bootsample&lt;BR /&gt;seed=1347 samprate=1 method = URS outhits rep=&amp;amp;rep;&lt;BR /&gt;cluster plate;&lt;BR /&gt;strata id;&lt;BR /&gt;run;&lt;BR /&gt;ods listing close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ods output covparms=T;&lt;BR /&gt;Proc mixed data= bootsample;&lt;BR /&gt;by replicate;&lt;BR /&gt;Class Id plate lot;&lt;BR /&gt;Model Dmm= id;&lt;BR /&gt;Random lot plate(lot) id(plate lot);&lt;BR /&gt;Title “Confidence intervals aroun Low Serum”;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;proc transpose data=t out=t1 (rename=(Col1=Lot Col2=PlateLot Col3=LotPlateID Col4=Residual));&lt;BR /&gt;by replicate;&lt;BR /&gt;var Estimate;&lt;BR /&gt;run;&lt;BR /&gt;proc print;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Data t2;&lt;BR /&gt;set t1;&lt;BR /&gt;Res= (Residual)/(Lot+PlateLot+LotPlateID+Residual);&lt;BR /&gt;ID= (LotPlateID)/(Lot+PlateLot+LotPlateID+Residual);&lt;BR /&gt;Plate= (PlateLot)/(Lot+PlateLot+LotPlateID+Residual);&lt;BR /&gt;Lots= (Lot)/(Lot+PlateLot+LotPlateID+Residual);&lt;BR /&gt;run;&lt;BR /&gt;proc print;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, my data has hierarchical clustering that is not being captured in my surveyselect procedure and my calculated confidence intervals do not contain my VPCs. I would like to have surveyselect return 21 observations per plate and for those observations to be equally distributed between 3 IDs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 21:48:23 GMT</pubDate>
    <dc:creator>athompson1</dc:creator>
    <dc:date>2021-10-15T21:48:23Z</dc:date>
    <item>
      <title>Bootstrap Confidence Interval Variance Partitioning Coefficient</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-Confidence-Interval-Variance-Partitioning-Coefficient/m-p/774617#M37979</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4 TS Level 1M3. I am trying to bootstrap confidence intervals around variance partitioning coefficients for hierarchical data. My model for calculating my VPC is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc mixed data= lowserum plots=residualpanel;&lt;BR /&gt;Class id plate lot;&lt;BR /&gt;Model Dmm= id;&lt;BR /&gt;Random lot plate(lot) id(plate lot);&lt;BR /&gt;Title "Agreement about Diameter";&lt;BR /&gt;Title2 "Low serum";&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To calculate my confidence intervals, I am using the suggestions from&amp;nbsp;&lt;A href="https://stats.idre.ucla.edu/sas/faq/how-can-i-bootstrap-estimates-in-sas/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/faq/how-can-i-bootstrap-estimates-in-sas/&lt;/A&gt;&amp;nbsp;with the following code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sort data=lowserum;&lt;BR /&gt;by ID;&lt;BR /&gt;%let rep=500;&lt;BR /&gt;proc surveyselect data=lowserum out=bootsample&lt;BR /&gt;seed=1347 samprate=1 method = URS outhits rep=&amp;amp;rep;&lt;BR /&gt;cluster plate;&lt;BR /&gt;strata id;&lt;BR /&gt;run;&lt;BR /&gt;ods listing close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ods output covparms=T;&lt;BR /&gt;Proc mixed data= bootsample;&lt;BR /&gt;by replicate;&lt;BR /&gt;Class Id plate lot;&lt;BR /&gt;Model Dmm= id;&lt;BR /&gt;Random lot plate(lot) id(plate lot);&lt;BR /&gt;Title “Confidence intervals aroun Low Serum”;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;proc transpose data=t out=t1 (rename=(Col1=Lot Col2=PlateLot Col3=LotPlateID Col4=Residual));&lt;BR /&gt;by replicate;&lt;BR /&gt;var Estimate;&lt;BR /&gt;run;&lt;BR /&gt;proc print;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Data t2;&lt;BR /&gt;set t1;&lt;BR /&gt;Res= (Residual)/(Lot+PlateLot+LotPlateID+Residual);&lt;BR /&gt;ID= (LotPlateID)/(Lot+PlateLot+LotPlateID+Residual);&lt;BR /&gt;Plate= (PlateLot)/(Lot+PlateLot+LotPlateID+Residual);&lt;BR /&gt;Lots= (Lot)/(Lot+PlateLot+LotPlateID+Residual);&lt;BR /&gt;run;&lt;BR /&gt;proc print;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, my data has hierarchical clustering that is not being captured in my surveyselect procedure and my calculated confidence intervals do not contain my VPCs. I would like to have surveyselect return 21 observations per plate and for those observations to be equally distributed between 3 IDs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 21:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-Confidence-Interval-Variance-Partitioning-Coefficient/m-p/774617#M37979</guid>
      <dc:creator>athompson1</dc:creator>
      <dc:date>2021-10-15T21:48:23Z</dc:date>
    </item>
  </channel>
</rss>

