由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS question - baozi
相关主题
简单的SAS问题Residual and Partial Correlation
ask for help (urgent): A SAS questionhow to output cumulative percent to a dataset from Proc Freq?
SAS question: count non-missing value for different variables请问SAS中如何通过组内一个变量的值控制整组变量
A SAS question怎样储存我想要的proc means 的结果?
请教SAS LABEL问题。请教一个sas编程问题
弱问一个SAS里面求adjusted means的问题[合集] How to specify a variable as missing
求助:SAS结果显示model is not full rank[合集] └ Re: 关于stepwise programming
郁闷死了,请教一个R的问题how to interprete the factor in factor anlaysis
相关话题的讨论汇总
话题: variables话题: regression话题: output话题: sas话题: dummy
进入Statistics版参与讨论
1 (共1页)
s***r
发帖数: 1121
1
Suppose in a regression, I have 1900 independent variables, among which
1890 are dummy variables. So, in the regression output, I do not want it
to show all 1900 parameters as it will take too much space. All I want is
the output of the remaining 10 parameters; not dummy variables.
Is there a SAS statement that can suppress the output of these 1890
parameters (and their t-statistics, standard errors, etc.)
Thank you. 5 bao zi will be given.
D******n
发帖数: 2836
2
noprint + outest ?

【在 s***r 的大作中提到】
: Suppose in a regression, I have 1900 independent variables, among which
: 1890 are dummy variables. So, in the regression output, I do not want it
: to show all 1900 parameters as it will take too much space. All I want is
: the output of the remaining 10 parameters; not dummy variables.
: Is there a SAS statement that can suppress the output of these 1890
: parameters (and their t-statistics, standard errors, etc.)
: Thank you. 5 bao zi will be given.

s***r
发帖数: 1121
3
I used Noprint already. What I want is not to output regression results for
these dummy variable, only show the regression results for other non-dummy
variables.
k****i
发帖数: 347
4
用ods output。输出parameter estimate所在的table,然后在proc print里用where只
选相应的variable name即可
s***r
发帖数: 1121
5
I also used ods output. It is ok, but it is still not what I really want.
k****i
发帖数: 347
6
我觉得sas的output是以table为单位的,所以你的要求基本上是不可能滴,呵呵
my 2 cents
z**********i
发帖数: 12276
7
用KEEP=VAR1 VAR2...,加在你输出的DATASET后面,怎么样?

for

【在 s***r 的大作中提到】
: I used Noprint already. What I want is not to output regression results for
: these dummy variable, only show the regression results for other non-dummy
: variables.

o****o
发帖数: 8077
8
one way I can think of is using Partition Regression where
you first regression your dependent variable and each of the 10 other
independent variables against all dummy variables, obtain their residuals,
then regression the residuals of dependent variable against the residuals of
the 10 independent variables. Theoretically you shall have the same result.
But this only works for OLS, don't know if it applies to more advanced
regression analysis, such as FGLS, etc

【在 s***r 的大作中提到】
: Suppose in a regression, I have 1900 independent variables, among which
: 1890 are dummy variables. So, in the regression output, I do not want it
: to show all 1900 parameters as it will take too much space. All I want is
: the output of the remaining 10 parameters; not dummy variables.
: Is there a SAS statement that can suppress the output of these 1890
: parameters (and their t-statistics, standard errors, etc.)
: Thank you. 5 bao zi will be given.

1 (共1页)
进入Statistics版参与讨论
相关主题
how to interprete the factor in factor anlaysis请教SAS LABEL问题。
data grouping, sub-grouping by column variable in R弱问一个SAS里面求adjusted means的问题
SAS问题来了求助:SAS结果显示model is not full rank
SAS问题郁闷死了,请教一个R的问题
简单的SAS问题Residual and Partial Correlation
ask for help (urgent): A SAS questionhow to output cumulative percent to a dataset from Proc Freq?
SAS question: count non-missing value for different variables请问SAS中如何通过组内一个变量的值控制整组变量
A SAS question怎样储存我想要的proc means 的结果?
相关话题的讨论汇总
话题: variables话题: regression话题: output话题: sas话题: dummy