在以下程序中,完成該語句,以便當(dāng)距離達(dá)到250英里或使用了10加侖燃油時(shí),程序停止生成觀測(cè)值()。
data work.go250;
set perm.cars;
do gallons=1to 10...;
Distance=gallons*mpg;
output;
end;
run;
A.while(Distance< 250)
B.when(Distance>250)
C.over(Distance le 250)
D.until(Distance=250)
您可能感興趣的試卷
你可能感興趣的試題
A.data lines
B.procedures
C.the FORMAT statement
D.the INPUT statement
A.
B.
C.
D.
A.State=scan(address2,2);
B.State=scan(address2,13,2);
C.State=substr(address2,2);
D.State=substr(address2,13,2);
A.mean(var1,var4)
B.mean(var1-var4)
C.mean(of var1,var4)
D.mean(of var1-var4)
哪個(gè)SAS程序讀取ID的值并保存每個(gè)Quantity值的記錄,以便為每個(gè)記錄創(chuàng)建三個(gè)觀察值?()
A.data work.sales;infile unitsold;input ID $;do week=1to 3;input Quantity :comma.;output;end;run;
B.data work.sales;infile unitsold;input ID $@@;do week=1to 3;input Quantity :comma.;output;end;run;
C.data work.sales;infile unitsold;input ID $@;do week=1to 3;input Quantity :comma.;output;end;run;
D.data work.sales;infile unitsold;input ID $@;do week=1to 3;input Quantity :comma.@;output;end;run;
最新試題
下列哪個(gè)符合永久邏輯庫的命名規(guī)范?()
哪個(gè)SAS程序讀取ID的值并保存每個(gè)Quantity值的記錄,以便為每個(gè)記錄創(chuàng)建三個(gè)觀察值?()
除了()其余都可以創(chuàng)建宏變量。
在程序中包含以下行的結(jié)果是什么?()
當(dāng)你運(yùn)行一段程序后,日志報(bào)了三條error,請(qǐng)問自動(dòng)變量_error_的取值?()
關(guān)于混淆矩陣,下列說法錯(cuò)誤的是()。
變量Address2包含諸如Piscataway,NJ之類的值。如何將兩個(gè)字母的州縮寫分配給名為State的新變量?()
欲研究高血壓(HBP,1=患病、0=未患?。┡c年齡(age)、性別(gender)、體質(zhì)指數(shù)(BMI)、日攝入鈉量(NA)的關(guān)系。由于年齡是連續(xù)變量,年齡增加1歲對(duì)高血壓的影響作用可能不顯著,通常的處理方法是對(duì)年齡進(jìn)行分組。但在logistic回歸中,sas提供了一個(gè)語句,可對(duì)增大年齡間隔,該選項(xiàng)是()
下列哪張圖不是該代碼可以輸出的圖?()proc logistic data=ez.loanplots(only)=(effect (clband x=(DELINQ))oddsratio);model BAD(event="1")=DELINQ;oddsratio DELINQ/diff=all cl=pl;run;
下列哪個(gè)proc步完全正確?()