Displaying 20 results from an estimated 3000 matches similar to: "How to get multiple Correlation Coefficients"
2006 Mar 05
2
what is scale function? Is it for variable transformation?
HOwdy
I read R books about scale function for variable transformation.
Acoording to this book
scale function leads me to better regression results. Or am I worng?
I hope somebody tell me about a scale function?
Is it for variable transformation?
--
Kum-Hoe Hwang, Phone : 82-31-250-3516Email : phdhwang@gmail.com
[[alternative HTML version deleted]]
2007 Feb 14
1
Any packages for conducting AHP( Analytic Hierarchy Process) data
Hi, R Lovers!
I have some survey data. I'd like to run R or R packages for processing data
inputted
from AHP(Analytic Hierarchy Process) survey.
Are there any R packages or subsititues for running data from AHP survey.
Thanks in advance,
--
Kum-Hoe Hwang, Ph.D.Phone : 82-31-250-3516 Email : phdhwang@gmail.com
[[alternative HTML version deleted]]
2006 May 18
1
how to get coefficients of regression or Anova
Hi R Gurus!
I conducted regression and anova followings :
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 6.07e-01 5.95e-02 10.19 < 2e-16 ***
nemp 2.87e-06 1.04e-07 27.63 < 2e-16 ***
as.factor(corridor1)A -8.81e-02 2.13e-02 -4.14 3.6e-05 ***
as.factor(corridor1)B
2005 Jul 06
2
How to sample x-y coordinates from GIS files
Hi Gurus!
I have a job that is to get randomly samples from point-based GIS data (sp
called shape GIS files) under the total sum resctricted.
For example, I would like to take random smaples under the 1000 persons in
each city.
The randomly sampled persons should not be over 1000 any case.
Thank you in advance,
--
Kum-Hoe Hwang, Ph.D.
Phone : 82-31-250-3283
Email : phdhwang@gmail.com
2006 May 18
1
how to get correct coefficients from lm model
Howdy
I apologize for duplicated posting. But I decided to correct my previous
posting.
I had the regression results using
r <- lm(Y ~ nemp + as.factor(devt), data=d).
First, there is the result of anova(r). Here I could not find regression
coefficients.
Response: Y
Df Sum Sq Mean Sq F value Pr(>F)
nemp 1 58.2 58.2 1233.23 < 2e-16 ***
2005 Feb 11
3
How to solve error : "cannot allocate vector of size 1208235 Kb"
Howdy R gurus !
I am newbie to R
I use R 2.0.1 in Windows XP. When I run R
I got the follwoing memory error.
My physical memory size is 3 Gb.
My R got the memory problem when it reached to
about 2 Gb.
Thanks in advance,
> library(spdep)
> sfr.lagsarlm <- lagsarlm(sfr.data$Bldgsqft ~ sfr.data$Ncounty + sfr.data$Nugb + sfr.data$Ngroup, data=sfr.data, listw=sfr.listw,
2009 Jan 10
1
Help needed for Loading "tm" package
Howdy Gurus again
Thanks to Tony.Breyal, I was able to writing the following script for
analyzing a text document.
But I got an error with "tm' package. I don't why I got the error from the R
script below. I think I followed proccess of R tm manual.
I use R v2.8.1. and tm_0.3-3.zip under Win XP.
Thanks in advance,
Kum Hwang
> # setting directory
> my.path
2009 Jan 15
1
How to Solve the Error( error:cannot allocate vector of size 1.1 Gb)
Hi, Gurus
Thanks to your good helps, I have managed starting the use of a text
mining package so called "tm" in R under the OS of Win XP.
However, during running the tm package, I got another mine like memory problem.
What is a the best way to solve this memory problem among increasing a
physical RAM, or doing other recipes, etc?
###############################
###### my R
2010 Feb 16
2
Error of Stepwise Regression with number of rows in use has changed: remove missing values?
Howdy, R Grues
I have enjoyed R, but I cannot solve one problem easily. Please help my problem.
When I tried the R script, I got the following Error. This error
results from input data file exported through a Excel spreadsheet
software.
Error in step(lm(pop.rate ~ as.numeric(year) + as.factor(policy) +
as.numeric(nation.grant) + ?:
??number of rows in use has changed: remove missing values?
2006 Oct 12
1
How to Get Categorical Correlation Coefficient
Howdy Gurus !
I have a different correlation result from the same data. The
"corridor1" string variable is expressed
as a number like the "corridor2" number variable.
--------------------------------------------------------------------------
> levels(corridor1)
[1] "A" "B" "C" "D" "E" "F"
>
2009 Jan 09
1
[R} how to build TermDocMatrix in tm text mining package of R
Howdy Gurus
I 'd like to ask a question about how to build TermDocMatrix in tm text
mining package.
It is not clear about importing a plain text file, and them converting that
text file into TermDocMatrix file, etc to me.
How can I build a TermDocMatrix of " a plain text document file for text
association?
Or are there any good manuals?
Thank you in advance,
--
Kum-Hoe Hwang, Ph.D.
2005 Feb 19
2
best analysis method : for time series ans cross sectional data
Howdy
What I 'd like to analyze with a large data on building permits is to find
time series effect of urban policy on buildings as well as
cross-sectional effects in any. In 1990 the specialZone urban policy
was introduced. I guess that the effects of this specialZone policy
would be different from countys. There are counties that do not
welcome this specialZone forced to design it.
One of
2009 Jan 12
3
polychoric correlation: issue with coefficient sign
Hello,
I am running polychoric correlations on a dataset composed of 12 ordinal and
binary variables (N =384), using the polycor package.
One of the association (between 2 dichotomous variables) is very high using
the 2-step estimate (0.933 when polychoric run only between the two
variables; but 0.801 when polychoric run on the 12 variables). The same
correlation run with ML estimate returns a
2007 Dec 19
1
Correlation when one variable has zero variance (polychoric?)
Hi,
I'm running this for a simulation study, so many combinations of parameter
produce many predictions that I need to correlate with data.
The problem
----------------
I'm using rating data with 3 to 5 categories (e.g., too low, correct, too
high). The underlying continuous scales should be normal, so I chose the
polychoric correlation. I'm using library(polychor) in its
2010 Apr 02
2
tetrachoric correlations
Hi,
Is there any R library/package that calculates tetrachoric correlations from given marginals and Pearson correlations among ordinal variables?
Inputs to polychor function in polycor package are either contingency tables or ordinal data themselves. I am looking for something that takes marginal distributions and Pearson correlation as inputs.
For example, Y1=(1,2,3) with P(Y1=1)=0.3,
2006 Jun 23
2
Tetrachoric correlation in R vs. stata
I hope someone here knows the answer to this since it will save me from
delving deep into documentation.
Based on 22 pairs of vectors, I have noticed that tetrachoric
correlation coefficients in stata are almost uniformly higher than those
in R, sometimes dramatically so (TCC=.61 in stata, .51 in R; .51 in
stata, .39 in R). Stata's estimate is higher than R's in 20 out of 22
2011 Jan 27
1
Saving log file in R and display run time
Hi all,
I have two basic questions, hope you should help me:
1. How do I save a log file in R with the results? For example, in Stata
it can be done by using "log using c:\...\test.txt"
2. How do I display the execution time of one function like the one below:
CalculaCorrelacao <- function(construto, n) {
library(polycor)
for (i in 2:n){
for (j in i:n+1){
x1
2007 Feb 14
0
Are there any packages or methods for running data from AHP(Analytic Hierarchy Process) survey?
Hi, R Lovers!
I have some survey data. I'd like to run R or R packages for
processing data inputted
from AHP(Analytic Hierarchy Process) survey.
Are there any R packages or subsititues for running data from AHP survey.
Thanks in advance,
--
Kum-Hoe Hwang, Ph.D.Phone : 82-31-250-3516Email : phdhwang at gmail.com
2008 Aug 07
2
Problems using hetcor (polycor)
Sorry if this post should be long but I tried to give you a piece of my data
to reproduce my error message using hetcor:
Fehler in result$rho : $ operator is invalid for atomic vectors
Zus?tzlich: Warning messages:
1: In polychor(x, y, ML = ML, std.err = std.err) :
1 row with zero marginal removed
2: In polychor(x, y, ML = ML, std.err = std.err) :
the table has fewer than 2 rows
Error in
2011 Feb 14
4
sem problem - did not converge
Someone can help me? I tried several things and always don't converge
# Model
library(sem)
dados40.cov <- cov(dados40,method="spearman")
model.dados40 <- specify.model()
F1 -> Item11, lam11, NA
F1 -> Item31, lam31, NA
F1 -> Item36, lam36, NA
F1 -> Item54, lam54, NA
F1 -> Item63, lam63, NA
F1 -> Item65, lam55, NA
F1 -> Item67, lam67, NA
F1 ->