similar to: UNSOLVED: Fwd: generate correlated qualitative data

Displaying 20 results from an estimated 3000 matches similar to: "UNSOLVED: Fwd: generate correlated qualitative data"

2011 Aug 31
0
generate correlated qualitative data
Dear R experts: I have following problem: # myfunction mfun1 <- function(x) { if ( x == 2){ xv <- sample(c(2,1,0),100, replace = T, prob = c(0.6, 0.2, 0.2)) } if ( x == 1){ xv <- sample(c(1,0),100, replace = T, prob = c(0.6, 0.4)) } if ( x == 0) { xv <- sample(c(0,0),100, replace = T, prob = c(0.5, 0.5)) } return(xv) } # applying the function x = mfun1(1) # just what I
2007 Oct 17
1
correlated data
Hi!! I am trying to generate data with specific correlation using corgen method from the ecodist package. It does not seem to generate the data properly. I am listing the code below. Secondly, when I put the code given below all in one file and source it, it is unable to complete the task. But when I execute it one at a time it is able to complete it. Can someone point out any mistake that I may
2011 Feb 20
8
Generating uniformly distributed correlated data.
I wish to generate a vector of uniformly distributed data with a defined correlation to another vector The only function I have been able to find doing something similar is corgen from the library ecodist. The following code generates data with the desired correlation to the vector x but the resulting vector y is normal and not uniform distributed library(ecodist) x <- runif(10^5) y
2004 Oct 11
1
Puzzled on nlm
Dear R People: Here is a function to minimized: >mfun1 function(x,a) { x[1] <- a[1]*x[2] + a[3] - a[2]*(a[1]-a[2])*a[3] x[2] <- a[1]*x[1] - a[2]*a[3] return(x) } Here is my first try: >nlm(mfun1,c(1,1)) Error in f(x, ...) : Argument "a" is missing, with no default > >nlm(mfun1,c(1,1),a=c(0.8,0.5,1)) Error in nlm(mfun1, c(1, 1), a = c(0.8, 0.5, 1)) :
2008 Nov 24
1
RQDA-0.1.5 is released
RDQA is a package for Qualitative Data Analysis built upon R. It works both on the Windows and Linux/FreeBSD platforms. RQDA is an easy-to-use tool to assist in the analysis of textual data. At the present, it supports only plain text format data. All the information is stored in SQLite database via the R package of RSQLite. The GUI is based on RGtk2, via the aid of gWidgetsRGtk2. It includes a
2008 Nov 24
1
RQDA-0.1.5 is released
RDQA is a package for Qualitative Data Analysis built upon R. It works both on the Windows and Linux/FreeBSD platforms. RQDA is an easy-to-use tool to assist in the analysis of textual data. At the present, it supports only plain text format data. All the information is stored in SQLite database via the R package of RSQLite. The GUI is based on RGtk2, via the aid of gWidgetsRGtk2. It includes a
2004 Oct 11
1
nlm question
Dear R People: I am trying to duplicate the example from Dennis and Schnabel's "Numerical Methods for Unconstrained Optimization and Nonlinear Equations", which starts on page 149. My reason for doing so: to try to understand the "nlm" function. Here is the function: >mfun1 function(x) { z <- matrix(0,nrow=2,ncol=1) z[1,1] <- x[1]^2 + x[2]^2 -
2011 Dec 03
1
partial mantel tests in ecodist with intential NA values.
I would like to perform partial mantel tests on only within group values, with "between group" values assigned to NA. This is possible in package ncf partial.mantel.test, however this sues a different permutation to that used in ecodist.ecodist will not accept data with NA values, returning a "matrix is not square error. is it possible to perform this test in ecodist? many thanks
2013 Mar 05
3
Simulate binary correlated data
Dear R experts, I am trying to simulate correlated binary data and have stumbled upon the following problem: With the help of "binarySimCLF" or "mvpBinaryEp" I have been able to simulate correlating binary vectors given certain mean values and a desired correlation. My problem is that these procedures do not allow you to specify the exact vector for which you want to generate
2012 Sep 06
2
Generalized additive models: Plots for Qualitative Data
Hello, My name is Dontrece Smith. I am creating figures for my GAMs. I change my qualitative variables to 1 or 2 in my dataset, so I would be able to run my GAMs. However, R will only display plots for my quantitative variables and not my qualitative variables. Is there any way to fix this issue? I listed some of my code below: > library(mgcv) This is mgcv 1.7-13. For overview type
2006 Oct 27
1
Qualitative Data??(String command)
I am using the read.table function to load an Excel data set into R. It has a few variables with very long qualitative (free response typically in sentences) response that I would like to keep, but would like to limit the "length" of the response that R shows. Is there some sort of string or column width command I can include in the read.table function to limit the length of words used
2019 Jul 04
2
unsolved: Re: solved: how to create a working certificate for using TLS?
On 6/27/19 12:11 PM, hwilmer wrote: > On 6/26/19 1:33 PM, hwilmer wrote: >> >> Hi, >> >> how can I create a self-signed certificate for asterisk which >> actually works? > > follow this guide: > https://fabianlee.org/2018/02/17/ubuntu-creating-a-trusted-ca-and-san-certificate-using-openssl-on-ubuntu/ > This has again, and for no reason, ceased to
2002 Oct 01
1
Unsolved symbols: meet_ Tcl_EvalObjv (PR#2090)
Running 'make check' I get two errors: running code in 'mva-Ex.R' .../usr/lib/dld.sl: Unresolved symbol: meet_ (code) from /users1/kleiweg/R-1.6.0-source/library/cluster/libs/cluster.sl running code in 'tcltk-Ex.R' .../usr/lib/dld.sl: Unresolved symbol: Tcl_EvalObjv (code) from /users1/kleiweg/R-1.6.0-source/library/tcltk/libs/tcltk.sl Version: platform =
2019 Jul 05
2
unsolved: Re: solved: how to create a working certificate for using TLS?
On 7/5/19 10:50 AM, Doug Lytle wrote: > On 7/4/19 6:40 PM, hw wrote: >> This has again, and for no reason, ceased to work again after >> restarting asterisk.  No matter what I try, I can't create a >> certificate asterisk >> would verify. > > Have you considered using LetsEncrypt for a valid certificate? > > Doug > > What would be the point
2006 Oct 24
2
Unsolved : mbox-sync-rewrite.c : assertion failed
Some days ago I wrote about an inaccessible mailbox after an upgrade from 0.99.14 to 1.0rc10. Today I get this problem with another mailbox but it seems to be it is not only related to the upgrade : - user comes back from holiday, does not see his inbox : dovecot: Oct 24 18:51:09 Error: IMAP(abcd): file mbox-sync-rewrite.c: line 405 (mbox_sync_read_and_move): assertion failed: (need_space ==
2009 Aug 02
1
Competing Risks Regression with qualitative predictor with more than 2 categories
Hello, I have a question regarding competing risk regression using cmprsk package (function crr()). I am using R2.9.1. How can I do to assess the effect of qualitative predictor (gg) with more than two categories (a,b,c) categorie c is the reference category. See above results, gg is considered like a ordered predictor ! Thank you for your help Jan > # simulated data to test > set.seed(10)
2002 Nov 07
2
Qualitative factors
Hi, I have some doubt about how qualitative factors are coded in R. For instance, I consider a response y, a quantitative factor x and a qualitative factor m at 3 levels, generated as follow : y_c(6,4,2.3,5,3.5,4,1.,8.5,4.3,5.6,2.3,4.1,2.5,8.4,7.4) x_c(3,1,3,1,2,1,4,5,1,3,4,2,5,4,3) m_gl(3,5) lm(y~x+m) Coefficients: (Intercept) x m2 m3 3.96364 0.09818
2003 Jul 14
2
qualitative response model
Hi, I want to know is there other functions in R to estimate qualitative response model besides multinom() in library nnet, if this is the only possibility, I have a question about the application: for example: there is three transportation choice : car, bus , subway. each alternative has own characteristic variables, I want to apply conditional logit model to analysis the choice of three
2002 Mar 05
1
Printing Unsolved: samba-2.2.3a, w2k and point & print (HP printers?)
Hi all, SHOULD POINT AND PRINT WORK WITH OPTIONAL DEVICE PARTS (eg. DUPLEX UNIT)? (If anyone managed to get it work please tell me:-)) Problem Description: =============== We have samba-2.2.3a (with patched srv_spoolss_nt) running on SuSE 7.3 with kernel version 2.4.17-SMP. Clients are running Windows 2000 SP2. We have several HP printers. We want to distribute the print drivers using
2017 Jan 17
0
UNSOLVED: Difficulties with Windows XP: failed to find cifs/fileserver.y.z@Y.Z in keytab (arcfour-hmac-md5)
Samba - General mailing list wrote > On Tue, 17 Jan 2017 04:30:31 -0800 (PST) > rawi via samba &lt; > samba at .samba > &gt; wrote: > >> Oh and I forgot, I am running a DNS server on the DC, on the right >> port and with all my clients are needing. >> They are only not served trough samba but directlly by bind. If they >> (clients) would see any