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

小渣云(36元/月)美国VPS洛杉矶 8核 8G

小渣云 做那个你想都不敢想的套餐 你现在也许不知道小渣云 不过未来你将被小渣云的产品所吸引小渣云 专注于一个套餐的商家 把性价比 稳定性 以及价格做到极致的商家,也许你不相信36元在别人家1核1G都买不到的价格在小渣云却可以买到 8核8G 高配云服务器,并且在安全性 稳定性 都是极高的标准。小渣云 目前使用的是美国超级稳定的ceranetworks机房 数据安全上 每5天备份一次数据倒异地 支持一...

VoLLcloud(月付低至2.8刀)香港vps大带宽,三网直连

VoLLcloud LLC是一家成立于2020年12月互联网服务提供商企业,于2021年1月份投入云计算应用服务,为广大用户群体提供云服务平台,已经多个数据中心部署云计算中心,其中包括亚洲、美国、欧洲等地区,拥有自己的研发和技术服务团队。现七夕将至,VoLLcloud LLC 推出亚洲地区(香港)所有产品7折优惠,该产品为CMI线路,去程三网163,回程三网CMI线路,默认赠送 2G DDoS/C...

趣米云月付460元,香港CN2云服务器VPS月付低至18元

趣米云早期为做技术起家,为3家IDC提供技术服务2年多,目前商家在售的服务有香港vps、香港独立服务器、香港站群服务器等,线路方面都是目前最优质的CN2,直连大陆,延时非常低,适合做站,目前商家正在做七月优惠活动,VPS低至18元,价格算是比较便宜的了。趣米云vps优惠套餐:KVM虚拟架构,香港沙田机房,线路采用三网(电信,联通,移动)回程电信cn2、cn2 gia优质网络,延迟低,速度快。自行封...

se95se.com为你推荐
特朗普取消访问丹麦特朗普访华后还会去那里?rawtools相机中的RAW是什么意思?51sese.comwww.51xuanh.com这是什么网站是骗人的吗?www.765.com哪里有免费的电影网站www.kanav001.com跪求下载[GJOS-024] 由愛可奈 [Kana Yume] 現役女子高生グラビア种子的网址谁有www.bbb551.combbb是什么意思lcoc.topoffsettop和scrolltop的区别partnersonlinecashfiesta 该怎么使用啊~~www.175qq.com最炫的qq分组www.147.qqq.comWWW147EEE.COM这个网站现在改哪个网址了
fc2最新域名 域名到期查询 个人注册域名 GGC 服务器评测 yardvps 百度云100as pw域名 koss 主机屋免费空间 网站保姆 ssh帐号 好看qq空间 如何安装服务器系统 Updog 空间登录首页 北京主机托管 万网服务器 windowsserver2012r2 美国代理服务器 更多