freedomse95se.com

se95se.com  时间:2021-03-19  阅读:()
Titlestata.
comsvybrr—BalancedrepeatedreplicationforsurveydataDescriptionQuickstartMenuSyntaxOptionsRemarksandexamplesStoredresultsMethodsandformulasReferencesAlsoseeDescriptionsvybrrperformsbalancedrepeatedreplication(BRR)estimationofspeciedstatistics(orex-pressions)foraStatacommandorauser-writtenprogram.
ThecommandisexecutedonceforeachreplicateusingsamplingweightsthatareadjustedaccordingtotheBRRmethodology.
AnyStataes-timationcommandlistedin[SVY]svyestimationmaybeusedwithsvybrr.
User-writtenprogramsthatmeettherequirementsin[P]programpropertiesmayalsobeused.
QuickstartEstimatepopulationmeanofv1usingBRRstandard-errorestimateswithsamplingweightwvar1andreplicateweightsinvariableswithprexrwvarsvyset[pweight=wvar1],brrweight(rwvar*)svybrr_b:meanv1BRRestimateofthestandarderrorofthedifferencebetweenthemeansofv2andv3svybrr(_b[v2]-_b[v3]):meanv2v3Asabove,butnametheresultdiffandsaveresultsfromeachreplicationtomydata.
dtasvybrrdiff=(_b[v2]-_b[v3]),saving(mydata):meanv2v3Sameasabovebrrdiff=(_b[v2]-_b[v3]),saving(mydata):meanv2v3Note:AnyestimationcommandmeetingtherequirementsspeciedintheDescriptionmaybesubstitutedformeanintheexamplesabove.
MenuStatistics>Surveydataanalysis>Resampling>Balancedrepeatedreplicationsestimation12svybrr—BalancedrepeatedreplicationforsurveydataSyntaxsvybrrexplist,svyoptionsbrroptionseformoption:commandsvyoptionsDescriptionif/insubpop(varnameif)identifyasubpopulationReportinglevel(#)setcondencelevel;defaultislevel(95)noheadersuppresstableheadernolegendsuppresstablelegendnoadjustdonotadjustmodelWaldstatisticnocnsreportdonotdisplayconstraintsdisplayoptionscontrolcolumnsandcolumnformats,rowspacing,linewidth,displayofomittedvariablesandbaseandemptycells,andfactor-variablelabelingcoeflegenddisplaylegendinsteadofstatisticscoeflegendisnotshowninthedialogboxesforestimationcommands.
brroptionsDescriptionMainhadamard(matrix)Hadamardmatrixfay(#)Fay'sadjustmentOptionssaving(lenamesaveresultstolename;savestatisticsindoubleprecision;saveresultstolenameevery#replicationsmseuseMSEformulaforvarianceReportingverbosedisplaythefulltablelegendnodotssuppressreplicationdotsdots(#)displaydotsevery#replicationsnoisilydisplayanyoutputfromcommandtracetracecommandtitle(text)usetextastitleforBRRresultsAdvancednodropdonotdropobservationsreject(exp)identifyinvalidresultsdof(#)designdegreesoffreedomsvyrequiresthatthesurveydesignvariablesbeidentiedusingsvyset;see[SVY]svyset.
commanddenesthestatisticalcommandtobeexecuted.
Thebyprexcannotbepartofcommand.
See[U]20Estimationandpostestimationcommandsformorecapabilitiesofestimationcommands.
Warning:Usingiforinrestrictionswilloftennotproducecorrectvarianceestimatesforsubpopulations.
Tocomputeestimatesforsubpopulations,usethesubpop()option.
svybrr—Balancedrepeatedreplicationforsurveydata3explistspeciesthestatisticstobecollectedfromtheexecutionofcommand.
explistisrequiredunlesscommandhasthesvybprogramproperty,inwhichcaseexplistdefaultstob;see[P]programproperties.
Theexpressionsinexplistareassumedtoconformtothefollowing:explistcontains(name:elist)elisteexpelistcontainsnewvarname=(exp)(exp)eexpisspecname[eqno]specnamespecnameisbb[]sese[]eqnois##nameexpisastandardStataexpression;see[U]13Functionsandexpressions.
Distinguishbetween[],whicharetobetyped,and,whichindicateoptionalarguments.
Optionssvyoptions;see[SVY]svy.
Mainhadamard(matrix)speciestheHadamardmatrixtobeusedtodeterminewhichPSUsarechosenforeachreplicate.
fay(#)speciesFay'sadjustment(Judkins1990),where0≤#≤2,butexcluding1.
Thisoptionoverridesthefay(#)optionofsvyset;see[SVY]svyset.
Optionssaving(lename,suboptions)createsaStatadatale(.
dtale)consistingof(foreachstatisticinexplist)avariablecontainingthereplicates.
doublespeciesthattheresultsforeachreplicationbesavedasdoubles,meaning8-bytereals.
Bydefault,theyaresavedasfloats,meaning4-bytereals.
Thisoptionmaybeusedwithoutthesaving()optiontocomputethevarianceestimatesbyusingdoubleprecision.
every(#)speciesthatresultsbewrittentodiskevery#threplication.
every()shouldbespeciedinconjunctionwithsaving()onlywhencommandtakesalongtimeforeachreplication.
Thiswillallowrecoveryofpartialresultsshouldsomeothersoftwarecrashyourcomputer.
See[P]postle.
replacespeciesthatlenamebeoverwrittenifitexists.
Thisoptiondoesnotappearinthedialogbox.
msespeciesthatsvybrrcomputethevariancebyusingdeviationsofthereplicatesfromtheobservedvalueofthestatisticsbasedontheentiredataset.
Bydefault,svybrrcomputesthevariancebyusingdeviationsofthereplicatesfromtheirmean.
4svybrr—BalancedrepeatedreplicationforsurveydataReportingverboserequeststhatthefulltablelegendbedisplayed.
nodotsanddots(#)specifywhethertodisplayreplicationdots.
Bydefault,onedotcharacterisdisplayedforeachsuccessfulreplication.
Ared'x'isdisplayedifcommandreturnsanerror,andan'e'isdisplayedifatleastonevalueinexplistismissing.
Youcanalsocontrolwhetherdotsaredisplayedusingsetdots;see[R]set.
nodotssuppressesdisplayofthereplicationdots.
dots(#)displaysdotsevery#replications.
dots(0)isasynonymfornodots.
noisilyrequeststhatanyoutputfromcommandbedisplayed.
Thisoptionimpliesthenodotsoption.
tracecausesatraceoftheexecutionofcommandtobedisplayed.
Thisoptionimpliesthenoisilyoption.
title(text)speciesatitletobedisplayedabovethetableofBRRresults;thedefaulttitleis"BRRresults".
eformoption;see[R]eformoption.
Thisoptionisignoredifexplistisnotb.
Advancednodroppreventsobservationsoutsidee(sample)andtheifandinqualiersfrombeingdroppedbeforethedataareresampled.
reject(exp)identiesanexpressionthatindicateswhenresultsshouldberejected.
Whenexpistrue,theresultingvaluesareresettomissingvalues.
dof(#)speciesthedesigndegreesoffreedom,overridingthedefaultcalculation,df=NpsuNstrata.
Remarksandexamplesstata.
comBRRwasrstintroducedbyMcCarthy(1966,1969a,1969b)asamethodofvarianceestimationfordesignswithtwoPSUsineverystratum.
TheBRRvarianceestimatortendstogivemorereasonablevarianceestimatesforthisdesignthanthelinearizedvarianceestimator,whichcanresultinlargevaluesandundesirablywidecondenceintervals.
InBRR,themodelistmultipletimes,onceforeachofabalancedsetofcombinationswhereonePSUisdroppedfromeachstratum.
Thevarianceisestimatedusingtheresultingreplicatedpointestimates.
AlthoughtheBRRmethodhassincebeengeneralizedtoincludeotherdesigns,Stata'simplementationofBRRrequirestwoPSUsperstratum.
Toprotecttheprivacyofsurveyparticipants,publicsurveydatasetsmaycontainreplicate-weightvariablesinsteadofvariablesthatidentifythePSUsandstrata.
Thesereplicate-weightvariablesareadjustedcopiesofthesamplingweights.
ForBRR,thesamplingweightsareadjustedfordroppingonePSUfromeachstratum;see[SVY]Varianceestimationformoredetails.
Example1:BRRreplicate-weightvariablesThesurveydesignfortheNHANESIIdata(McDowelletal.
1981)isspecicallysuitedtoBRR;therearetwoPSUsineverystratum.
svybrr—Balancedrepeatedreplicationforsurveydata5.
usehttps://www.
stata-press.
com/data/r16/nhanes2.
svydescribeSurvey:Describingstage1samplingunitspweight:finalwgtVCE:linearizedSingleunit:missingStrata1:strataSU1:psuFPC1:#ObsperUnitStratum#Units#Obsminmeanmax12380165190.
0215221856792.
511832348149174.
019942460229230.
023152252105126.
0147(outputomitted)292503215251.
5288302365166182.
5199312308143154.
0165322450211225.
0239316210,35167167.
0288Hereisaprivacy-consciousdatasetequivalenttotheoneabove;allthevariablesandvaluesremain,exceptstrataandpsuarereplacedwithBRRreplicate-weightvariables.
TheBRRreplicate-weightvariablesarealreadysvyset,andthedefaultmethodforvarianceestimationisvce(brr).
.
usehttps://www.
stata-press.
com/data/r16/nhanes2brr.
svysetpweight:finalwgtVCE:brrMSE:offbrrweight:brr_1.
.
brr_32Singleunit:missingStrata1:SU1:FPC1:Supposethatwewereinterestedinthepopulationratioofweighttoheight.
Hereweusetotaltoestimatethepopulationtotalsofweightandheightandthesvybrrprextoestimatetheirratioandvariance;weusetotalinsteadofratio(whichisotherwisepreferablehere)toillustratehowtospecifyanexplist.
6svybrr—Balancedrepeatedreplicationforsurveydata.
svybrrWtoH=(_b[weight]/_b[height]):totalweightheight(runningtotalonestimationsample)BRRreplications(32)12345BRRresultsNumberofobs=10,351Populationsize=117,157,513Replications=32Designdf=31command:totalweightheightWtoH:_b[weight]/_b[height]BRRCoef.
Std.
Err.
tP>|t|[95%Conf.
Interval]WtoH.
4268116.
0008904479.
360.
000.
4249957.
4286276ThemseoptioncausessvybrrtousetheMSEformoftheBRRvarianceestimator.
ThisvarianceestimatorwilltendtobelargerthanthepreviousbecauseoftheadditionofthefamiliarsquaredbiastermintheMSE;see[SVY]Varianceestimationformoredetails.
TheheaderforthecolumnofstandarderrorsinthetableofresultsisBRR*fortheBRRvarianceestimatorusingtheMSEformula.
.
svybrrWtoH=(_b[weight]/_b[height]),mse:totalweightheight(runningtotalonestimationsample)BRRreplications(32)12345BRRresultsNumberofobs=10,351Populationsize=117,157,513Replications=32Designdf=31command:totalweightheightWtoH:_b[weight]/_b[height]BRR*Coef.
Std.
Err.
tP>|t|[95%Conf.
Interval]WtoH.
4268116.
0008904479.
360.
000.
4249957.
4286276Thebiastermhereistoosmalltoseeanydifferenceinthestandarderrors.
Example2:Surveydatawithoutreplicate-weightvariablesForsurveydatawiththePSUandstratavariablesbutnoreplicationweights,svybrrcancomputeadjustedsamplingweightswithinitsreplicationloop.
Herethehadamard()optionmustbesuppliedwiththenameofaStatamatrixthatisaHadamardmatrixofappropriateorderforthenumberofstratainyourdataset(seethefollowingtechnicalnoteforaquickintroductiontoHadamardmatrices).
Thereare31stratainnhanes2.
dta,soweneedaHadamardmatrixoforder32(ormore)tousesvybrrwiththisdataset.
Hereweuseh32(fromthefollowingtechnicalnote)toestimatethepopulationratioofweighttoheightbyusingtheBRRvarianceestimator.
svybrr—Balancedrepeatedreplicationforsurveydata7.
usehttps://www.
stata-press.
com/data/r16/nhanes2.
svybrr,hadamard(h32):ratio(WtoH:weight/height)(runningratioonestimationsample)BRRreplications(32)12345Survey:RatioestimationNumberofstrata=31Numberofobs=10,351NumberofPSUs=62Populationsize=117,157,513Replications=32Designdf=31WtoH:weight/heightBRRRatioStd.
Err.
[95%Conf.
Interval]WtoH.
4268116.
0008904.
4249957.
4286276TechnicalnoteAHadamardmatrixisasquarematrixwithrrowsandcolumnsthathasthepropertyHrHr=rIrwhereIristheidentitymatrixoforderr.
GeneratingaHadamardmatrixwithorderr=2piseasilyaccomplished.
StartwithaHadamardmatrixoforder2(H2),andbuildyourHrbyrepeatedlyapplyingKroneckerproductswithH2.
HereistheStatacodetogeneratetheHadamardmatrixforthepreviousexample.
matrixh2=(-1,1\1,1)matrixh32=h2forvaluesi=1/4{matrixh32=h2#h32}svybrrconsumesHadamardmatricesfromlefttoright,soitisbesttomakesurethatrisgreaterthanthenumberofstrataandthatthelastcolumnistheoneconsistingofall1s.
ThiswillensurefullorthogonalbalanceaccordingtoWolter(2007).
8svybrr—BalancedrepeatedreplicationforsurveydataStoredresultsInadditiontotheresultsdocumentedin[SVY]svy,svybrrstoresthefollowingine():Scalarse(Nreps)numberofreplicationse(Nmisreps)numberofreplicationswithmissingvaluese(kexp)numberofstandardexpressionse(keexp)numberofb/seexpressionse(kextra)numberofextraestimatesaddedtobe(fay)Fay'sadjustmentMacrose(cmdname)commandnamefromcommande(cmd)samease(cmdname)orbrre(vce)brre(brrweight)brrweight()variablelistMatricese(bbrr)BRRmeanse(V)BRRvarianceestimatesWhenexplistisb,svybrrwillalsocarryforwardmostoftheresultsalreadyine()fromcommand.
MethodsandformulasSee[SVY]VarianceestimationfordetailsregardingBRRvarianceestimation.
ReferencesJudkins,D.
R.
1990.
Fay'smethodforvarianceestimation.
JournalofOfcialStatistics6:223–239.
McCarthy,P.
J.
1966.
Replication:Anapproachtotheanalysisofdatafromcomplexsurveys.
InVitalandHealthStatistics,series2.
Hyattsville,MD:NationalCenterforHealthStatistics.
.
1969a.
Pseudoreplication:Furtherevaluationandapplicationofthebalancedhalf-sampletechnique.
InVitalandHealthStatistics,series2.
Hyattsville,MD:NationalCenterforHealthStatistics.
.
1969b.
Pseudo-replication:Half-samples.
Revuedel'InstitutInternationaldeStatistique37:239–264.
McDowell,A.
,A.
Engel,J.
T.
Massey,andK.
Maurer.
1981.
PlanandoperationoftheSecondNationalHealthandNutritionExaminationSurvey,1976–1980.
VitalandHealthStatistics1(15):1–144.
Wolter,K.
M.
2007.
IntroductiontoVarianceEstimation.
2nded.
NewYork:Springer.
Alsosee[SVY]svypostestimation—Postestimationtoolsforsvy[SVY]svybootstrap—Bootstrapforsurveydata[SVY]svyjackknife—Jackknifeestimationforsurveydata[SVY]svysdr—Successivedifferencereplicationforsurveydata[SVY]Calibration—Calibrationforsurveydata[SVY]Poststratication—Poststraticationforsurveydata[SVY]Subpopulationestimation—Subpopulationestimationforsurveydata[SVY]Varianceestimation—Varianceestimationforsurveydata[U]20Estimationandpostestimationcommands

陆零(¥25)云端专用的高性能、安全隔离的物理集群六折起

陆零网络是正规的IDC公司,我们采用优质硬件和网络,为客户提供高速、稳定的云计算服务。公司拥有一流的技术团队,提供7*24小时1对1售后服务,让您无后顾之忧。我们目前提供高防空间、云服务器、物理服务器,高防IP等众多产品,为您提供轻松上云、安全防护 为核心数据库、关键应用系统、高性能计算业务提供云端专用的高性能、安全隔离的物理集群。分钟级交付周期助你的企业获得实时的业务响应能力,助力核心业务飞速成...

PhotonVPS:美国Linux VPS半价促销2.5美元/月起,可选美国洛杉矶/达拉斯/芝加哥/阿什本等四机房

photonvps怎么样?photonvps现在针对旗下美国vps推出半价促销优惠活动,2.5美元/月起,免费10Gbps DDoS防御,Linux系统,机房可选美国洛杉矶、达拉斯、芝加哥、阿什本。以前觉得老牌商家PhotonVPS贵的朋友可以先入手一个月PhotonVPS美国Linux VPS试试了。PhotonVPS允许合法大人内容,支持支付宝、paypal和信用卡,30天退款保证。Photo...

LOCVPS:VPS主机全场8折,德国/荷兰/美国KVM终身7折

LOCVPS发来了针对元旦新年的促销活动,除了全场VPS主机8折优惠外,针对德国/荷兰KVM #1/美国KVM#2 VPS提供终身7折优惠码(限量50名,先到先得)。LOCVPS是一家成立于2012年的国人VPS服务商,提供中国香港、韩国、美国、日本、新加坡、德国、荷兰、俄罗斯等地区VPS服务器,基于KVM或XEN架构(推荐优先选择KVM),均选择直连或者优化线路,国内延迟低,适合建站或远程办公使...

se95se.com为你推荐
杨紫别祝我生日快乐祝我生日快乐的歌词老虎数码1200万相素的数码相机都有哪些款?大概价钱是多少?lunwenjiance知网论文检测查重系统陈嘉垣马德钟狼吻案事件是怎么回事杰景新特美国杰尼.巴尼特的资料冯媛甑谁知道怎么找到冯媛甄的具体资料?seo优化工具seo优化软件有哪些?777k7.comwww 地址 777rv怎么打不开了,还有好看的吗>comwww.e12.com.cn有什么好的高中学习网?5xoy.com求个如月群真汉化版下载地址
便宜的虚拟主机 长沙域名注册公司 鲁诺vps ix主机 koss 香港机房托管 godaddy优惠券 云图标 我爱水煮鱼 空间出租 admit的用法 双线主机 双十一秒杀 metalink yundun 空间租赁 论坛主机 浙江服务器 网络速度 双十二促销 更多