Displaying 10 results from an estimated 10 matches for "stat501".
2024 Sep 07
4
Reading a txt file from internet
Hi,
I am trying to the data from
https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt
without any success. Below is the error I am getting:
> read.delim('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt')
Error in make.names(col.names, unique = TRUE) :
invalid multibyte string at '<ff><fe>t'...
2024 Sep 07
1
Reading a txt file from internet
...n the file decoding would break. If there is a BOM, don't override it unless you have to (e.g. for a wrong BOM)... leave off the LE unless you really need it.
That sounds like good advice, but it doesn't work:
> read.delim(
+ 'https://online.stat.psu.edu/onlinecourses/sites/stat501/files
/ch15/employee.txt',
+ fileEncoding = "UTF-16"
+ )
[1] time
[2]
vendor.?????........??........?.??........?.??.?..?.....?..?..?...?.?..?..?...?.??....?...?.??.
and so on.
>
> On September 7, 2024 1:22:23 PM PDT, Enrico Schumann &...
2024 Sep 07
1
Reading a txt file from internet
...he LE unless you really need it.
On September 7, 2024 1:22:23 PM PDT, Enrico Schumann <es at enricoschumann.net> wrote:
>On Sun, 08 Sep 2024, Christofer Bogaso writes:
>
>> Hi,
>>
>> I am trying to the data from
>> https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt
>> without any success. Below is the error I am getting:
>>
>>> read.delim('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt')
>>
>> Error in make.names(col.names, unique = TRUE) :
>>
>> in...
2024 Sep 07
1
Reading a txt file from internet
...g would break. If there is a BOM, don't override it unless you have to (e.g. for a wrong BOM)... leave off the LE unless you really need it.
>
>That sounds like good advice, but it doesn't work:
>
> > read.delim(
> + 'https://online.stat.psu.edu/onlinecourses/sites/stat501/files /ch15/employee.txt',
> + fileEncoding = "UTF-16"
> + )
> [1] time
>
>
>
>
>
>
>
>
>
>
>
>
>
> [2] vendor.?????........??........?.??........?.??.?..?.....?..?..?...?.?..?..?...?.??....?...?.??.
>
>and so on.
>>...
2024 Sep 07
1
Reading a txt file from internet
On Sun, 08 Sep 2024, Christofer Bogaso writes:
> Hi,
>
> I am trying to the data from
> https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt
> without any success. Below is the error I am getting:
>
>> read.delim('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt')
>
> Error in make.names(col.names, unique = TRUE) :
>
> invalid multibyte string at ...
2024 Sep 07
1
Reading a txt file from internet
That looks like a UTF-16LE byte order mark. Simply open the connection
with the proper encoding:
read.delim(
'https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt',
fileEncoding = "UTF-16LE"
)
On Sat, Sep 7, 2024 at 3:57?PM Christofer Bogaso
<bogaso.christofer at gmail.com> wrote:
>
> Hi,
>
> I am trying to the data from
> https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employ...
2024 Sep 08
1
Reading a txt file from internet
...ere is a BOM, don't override it unless you have to (e.g. for a wrong BOM)... leave off the LE unless you really need it.
>>
>> That sounds like good advice, but it doesn't work:
>>
>>> read.delim(
>> + 'https://online.stat.psu.edu/onlinecourses/sites/stat501/files /ch15/employee.txt',
>> + fileEncoding = "UTF-16"
>> + )
>> [1] time
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> [2] vendor.?????........??........?.??........?.??.?..?.....?....
2011 Mar 20
3
manova question
Dear friends,
Sorry for this somewhat generically titled posting but I had a question
with using contrasts in a manova context. So here is my question:
Suppose I am interested in doing inference on \beta in the case of the
model given by:
Y = X %*% \beta + e
where Y is a n x p matrix of observations, X is a n x m design matrix,
\beta is m x p matrix of parameters, and e is a
2012 Mar 19
1
car/MANOVA question
Dear colleagues,
I had a question wrt the car package. How do I evaluate whether a
simpler multivariate regression model is adequate?
For instance, I do the following:
ami <- read.table(file =
"http://www.public.iastate.edu/~maitra/stat501/datasets/amitriptyline.dat",
col.names=c("TCAD", "drug", "gender", "antidepressant","PR", "dBP",
"QRS"))
ami$gender <- as.factor(ami$gender)
ami$TCAD <- ami$TCAD/1000
ami$drug <- ami$drug/1000
library(car)
fit.l...
2013 Sep 10
2
Normalidad para datos multivariados
Hola! Estoy teniendo un problema para testar la normalidad y la homogeneidad de varianzas para mi modelo de manova
Es este mi modelo: m1<-manova(cbind(pred,fit,oniv)~tratamento/parcela+bloco,data.vegetacao)
Aparte de tener tres variables respuestas (predador, fitófago, omnívoro), también es un diseño anidado.
Alguien sabría responder esto? Gracias!
Carol
[[alternative HTML version