Re: [R] Application of R

2006-02-08 Thread Adaikalavan Ramasamy
No Excel attachment came through. 

Just taking a guess here but there seems to be very little variation the
columns V10 till column V23.

BTW, can you not issue the following call :

 mydata[ , 1:7] ~ mydata[ , 8] + mydata[ ,9]

instead of creating y1, y2, ... separately then cbind-ing them ?

Regards, Adai




On Tue, 2006-02-07 at 21:52 +0800, Andy Wong wrote:
> I have applied the R and MNP to carry out the data analysis.  However, there
> is an error called SWP : singular matrix.  Can someone tell me what is the
> problem of my formula or the file "mydata".
> 
> I have attached the data file "mydata" in Excel format and the result
> printed in pdf format for your information.
> 
> Thanks for your advice.
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] Application of R

2006-02-07 Thread Andy Wong
I have applied the R and MNP to carry out the data analysis.  However, there
is an error called SWP : singular matrix.  Can someone tell me what is the
problem of my formula or the file "mydata".

I have attached the data file "mydata" in Excel format and the result
printed in pdf format for your information.

Thanks for your advice.


result 20060207.pdf
Description: Adobe PDF document
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] Application of R with Multinomial Probit Model

2006-02-04 Thread Andy Wong
Dear All,

I still cannot solve the error (see attached printed pdf file).  Can
somebody give me some advice?  I have also attached my data file in Excel
and text formats for your reference.  I have already assigned the
y1,y2,x1,x12,z1,z2.z14 as V1V23 but still can't work.  Please
try out and advise.  Thanks.

Andy


result.pdf
Description: Adobe PDF document
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] Application of R

2006-02-03 Thread Petr Pikal
Hi

I do not know anything about mnp but the variables in your data frame 
has names V1:V23 and you request mnp to use variables x1..., y1..., 
and z1 Unless you have them somewhere, where do you suppose mnp 
to know about them?

Try to read some basic text about data structures and manipulation 
with them e.g. R-intro.pdf which is probably in doc directory.

HTH
Petr


On 3 Feb 2006 at 20:24, Andy Wong wrote:

Date sent:  Fri, 3 Feb 2006 20:24:00 +0800
From:   Andy Wong <[EMAIL PROTECTED]>
To: r-help@stat.math.ethz.ch
Subject:        [R] Application of R

> Could somebody gives me some advice what is the problem of my analysis
> as per attached printed file showing the steps of the input and the
> error occured.  I have also attached my data file in Excel file format
> for your reference.
> 
> Thanks.
> 
> Andy
> 

Petr Pikal
[EMAIL PROTECTED]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] Application of R

2006-02-03 Thread Andy Wong
Could somebody gives me some advice what is the problem of my analysis as
per attached printed file showing the steps of the input and the error
occured.  I have also attached my data file in Excel file format for your
reference.

Thanks.

Andy


result.pdf
Description: Adobe PDF document
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] Application of R and MNP

2006-01-22 Thread John Fox
Dear Andy,

You appear to have 7 observations and 8 explanatory variables in the model.
You'd be in trouble even if this were a linear model fit by least squares.
Moreover, each observation has a different value of the response variable --
that, is the response has 7 levels. Did you really intend to do that?
Perhaps it would help to know what you want to do with these data.

I hope this helps,
 John


John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Andy Wong
> Sent: Sunday, January 22, 2006 9:55 AM
> To: r-help@stat.math.ethz.ch
> Subject: [R] Application of R and MNP
> 
> Dear all,
> 
> I'm a new user of R and MNP.  Would anybody advise me what I 
> have done wrong to the input or data.  When I add the R7, it 
> said that there is an error "SWP:singular matrix".  I can add 
> up to R6 only.  Copy of the R console is attached for your reference.
> 
> Thanks.
> 
> Andy
>

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] Application of R and MNP

2006-01-22 Thread Andy Wong
Dear all,

I'm a new user of R and MNP.  Would anybody advise me what I have done wrong
to the input or data.  When I add the R7, it said that there is an error
"SWP:singular matrix".  I can add up to R6 only.  Copy of the R console is
attached for your reference.

Thanks.

Andy


mywork.pdf
Description: Adobe PDF document
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html