楼主: Trevor
4141 7

[求助]Journal of Multivariate Analysis [推广有奖]

  • 1关注
  • 4粉丝

副教授

26%

还不是VIP/贵宾

-

TA的文库  其他...

Probability NewOccidental

RapidMiner NewOccidental

Machine Learning

威望
1
论坛币
3388 个
通用积分
0.4274
学术水平
25 点
热心指数
17 点
信用等级
24 点
经验
5231 点
帖子
414
精华
2
在线时间
176 小时
注册时间
2005-5-4
最后登录
2024-4-7

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

Journal of Multivariate Analysis

Volume 97

[此贴子已经被作者于2006-4-11 11:03:10编辑过]

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Multivariate multivariat Analysis Variate Analysi Analysis Multivariate Journal

沙发
Multivariate 发表于 2006-4-19 23:31:00 |只看作者 |坛友微信交流群
Dear colleagues,

I am trying to understand how SPSS (v 13) connects the fitted values of a loess curve when there is a break in the data on the abscissa.

For example, I have a point at x=100 and then nothing until x=300. Yet SPSS creates an elbow somewhere around x=150, where there are no data points that justify such a shape. It does not connect the last fitted point at x=100 to the point at x=300 with a straight line. (Using fraction=50 and the Epachnikov weight function.)

I am assuming that it extrapolates the weighted least squares line used to fit the last point on the lower end of the axis (the line moves ahead towards the upper end of the x-axis) and does the same with the first point on the upper end of the axis (the line moves towards the lower end of the x-axis). Then, at the point where the two lines have a common x value, it
draws a line to connect them (?).

I have found very little documentation either on the SPSS site or in the archive on this issue. Any answers to the question above and pointing towards some SPSS documentation on the issue would be much appreciated.



Best regards,

使用道具

藤椅
Multivariate 发表于 2006-4-19 23:34:00 |只看作者 |坛友微信交流群

Hello, I have been trying to modify a macro from the help manual for bootstrapping equations. I would like to bootstrap samples for two equations but I would like the bootstrapped samples for equation 1 to correspond to the samples used to estimate equation 2, i.e. I would like to bootstrap B=1000 samples and run two different equations on each of the 1000 samples and I want to save the parameters from each equation in separate data files.

M = a0 + a1X

(1)Y = b0 + b1X + b2M

(2) I have been modifying the syntax but I don't know how to write macros, and I am not using the "set seed" command properly or in the right place in the macro. There may be other errors that I haven't noticed as well. I have pasted the syntax for Equation 1 that I have been using down below. If anyone can point me in the right direction I would greatly appreciate it. Lisa Lambert PRESERVE.SET TVARS NAMES.OMS /DESTINATION VIEWER=NO /TAG='SUPPRESSALL'.OMS /SELECT TABLES /IF COMMANDS=['REGRESSION'] SUBTYPES=['COEFFICIENTS'] /DESTINATION FORMAT=SAV OUTFILE='H:\ COEFF.SAV' /COLUMNS DIMNAMES=['VARIABLES' 'STATISTICS'] /TAG='REG_COEFF'. DEFINE regression_bootstrap (samples=!TOKENS(1) /depvar=!TOKENS(1) /indvars=!CMDEND) COMPUTE dummyvar=1.AGGREGATE /OUTFILE='d:\temp\med.sav' /BREAK=dummyvar /filesize=N.MATCH FILES FILE=* /TABLE='d:\temp\med.sav' /BY dummyvar.!DO !other=1 !TO !samplesSET SEED=7654321.WEIGHT OFF.FILTER OFF.DO IF $casenum=1.- COMPUTE #samplesize=filesize.- COMPUTE #filesize=filesize.END IF.DO IF (#samplesize>0 and #filesize>0).- COMPUTE sampleWeight=rv.binom(#samplesize, 1/#filesize).- COMPUTE #samplesize=#samplesize-sampleWeight.- COMPUTE #filesize=#filesize-1.ELSE.- COMPUTE sampleWeight=0.END IF.WEIGHT BY sampleWeight.FILTER BY sampleWeight.REGRESSION /STATISTICS COEFF /DEPENDENT !depvar /METHOD=ENTER !indvars.!DOEND!ENDDEFINE. GET FILE='H:\ mediation.sav'.regression_bootstrap samples=4 depvar= M indvars= X . OMSEND .

Lisa Schurer Lambert
J. Mack Robinson College of Business
Georgia State University
35 Broad Street, Room 1013
Atlanta GA 30303-4014
Phone: 404.463.9227
Email: lisalambert@gsu.edu

使用道具

板凳
Multivariate 发表于 2006-4-19 23:35:00 |只看作者 |坛友微信交流群
Hi Lisa,

Is this what are you seeking?

PRESERVE.
SET TVARS NAMES.
OMS /DESTINATION VIEWER=NO /TAG='SUPPRESSALL'.
OMS /SELECT TABLES /IF COMMANDS=['REGRESSION']
SUBTYPES=['COEFFICIENTS']
/DESTINATION FORMAT=SAV OUTFILE='c:\temp\COEFF.SAV'
/COLUMNS DIMNAMES=['VARIABLES' 'STATISTICS']
/TAG='REG_COEFF'.

DEFINE regression_bootstrap (samples=!TOKENS(1)
/depvar1=!TOKENS(1)
/indvars1=!CHAREND ('/')
/depvar2=!TOKENS(1)
/indvars2=!CMDEND)

COMPUTE dummyvar=1.
AGGREGATE /OUTFILE='c:\temp\med.sav'
/BREAK=dummyvar
/filesize=N.
MATCH FILES FILE=* /TABLE='c:\temp\med.sav'
/BY dummyvar.

!DO !other=1 !TO !samples
SET SEED=7654321.
WEIGHT OFF.
FILTER OFF.

DO IF $casenum=1.
- COMPUTE #samplesize=filesize.
- COMPUTE #filesize=filesize.
END IF.

DO IF (#samplesize>0 and #filesize>0).
- COMPUTE sampleWeight=rv.binom(#samplesize, 1/#filesize).
- COMPUTE #samplesize=#samplesize-sampleWeight.
- COMPUTE #filesize=#filesize-1.
ELSE.
- COMPUTE sampleWeight=0.
END IF.

WEIGHT BY sampleWeight.
FILTER BY sampleWeight.
REGRESSION /STATISTICS COEFF /DEPENDENT !depvar1 /METHOD=ENTER
!indvars1.
REGRESSION /STATISTICS COEFF /DEPENDENT !depvar2 /METHOD=ENTER
!indvars2.
!DOEND
!ENDDEFINE.

GET FILE='C:\Program Files\SPSS\GSS93 subset.sav'.

regression_bootstrap samples=4 depvar1= opera indvars1= classicl /
depvar2= musicals indvars2= classicl opera .

OMSEND .

GET FILE='c:\temp\COEFF.SAV'.


Greetings

Jan

使用道具

报纸
Multivariate 发表于 2006-4-19 23:38:00 |只看作者 |坛友微信交流群

Hi everyone,

I've received some output that I don't quite understand when I run a MLR in SPSS 14.0.1.

The model-fitting information yields a chi-square of 301.67, with a sig. of .000 - which I believe indicates that the final model does a better job of describing the data than one using the intercept only. Nagelkerke's pseudo R-Square is .704. Finally, the classification table indicates that I'm correct 96.9%, 46.2%, and 68.6% of the time in terms of classifying
participants into my three groups.

All of the above seems to indicate that the model is going quite well.

However, the Goodness of Fit table indicates a significant Pearson chi-square (p=.000), while the Deviance value is 1.000. I believe that a significant result indicates a poor model fit - so I'm receiving conflicting information from this table. Having .000 'and' 1.000 doesn't seem right to me, but everything else appears to indicate that the model isn't too shabby.

Is anyone able to explain this conflict, and perhaps suggest how I might be able to resolve it?

Many thanks ..................

John

使用道具

地板
Multivariate 发表于 2006-4-19 23:39:00 |只看作者 |坛友微信交流群
There are a variety of reasons why your chi-square is high yet may not be accurate. Can you tell us more about the the models youa re testing? If you have removed a covariate from the final model or you are using non-categorical covariates, your chi-square may not be accurately
reflected. Additionally (I know this is a problem with SEM models),chi-square is notoriously sensative to sample size.Tell us more about what you are doing and we may be able to help.

Mark

使用道具

7
Multivariate 发表于 2006-4-19 23:40:00 |只看作者 |坛友微信交流群

Dear Experts:

May I know the meaning of the two phrases below?


The Pearson correlation coefficient is symmetric since the correlation of x and y is the same the correlation of y and x.

Whenever the computation of two variables involves common variables, the variables will be related.

Thanks in advance.

Omar.

使用道具

8
Multivariate 发表于 2006-4-19 23:41:00 |只看作者 |坛友微信交流群

Omar,


1. The Pearson coefficient is symmetric in the sense that it tells nothing
about the direction of any possible causal relationship between the two
variables. It only says that they are correlated. If you examine the formula
for r, you will see that nothing changes if you reverse the roles of X and
Y. Instead, the regression coefficients of x on y and y on x are different
from each other (depending on the respective variances). Some association
coefficients, used instead of Pearson for dichotomous variables, are also
asymmetric (see the various coefficients available in CROSSTABS).


2. It is almost a tautology. Suppose you compute Y=X**2 and Z=1/X. Since
both involve X, there would necessarily be SOME mathematical relation
between Y and Z.


Hector

[此贴子已经被作者于2006-4-19 23:44:41编辑过]

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 12:37