Displaying 20 results from an estimated 1000 matches similar to: "To create a Panel and run a Pooled OLS"
2003 May 02
3
Creating Dummy Variables with if else phrase
Dear All,
I want to do 52 state dummy variables. In order to make it easier for me, I
thought of using the below commands. (x is the vector with state variables,
matrix will correspond to the dummy variables)
x <- c(1,2,NA,4)
matrix <- matrix(0,nrow=4,ncol=4)
for (i in 1:4) {
if (is.real(x[i])) {
matrix[i,x[i]] <- 1 } else {
matrix[i,] <- rep(NA,4)
}
}
This gives me the
2006 Sep 11
1
plotting curves
Hi,
I've been trying to recreate plots of that follow a cubic form. The the
original graphs I'm looking at were produced with specialized software
(Delta Graph), and although I can reproduce it almost exactly with R,
the only difference is in the actual display of the curves I've plotted.
I've noticed that in R all curves are pixelated, regardless of howmany
points I use. Is
2023 Dec 23
1
ssh-keygen generator 3 broken.
Hello, I was re-generating the moduli for SSH, and during that process I noticed that, when running the following command:
ssh-keygen -M screen -O prime-tests=600 -O generator=3 -f moduli-2048-01.candidates moduli-2048-01c
It does not produce any errors, only the following:
ebug2: ???1467763: (4) Sophie-Germain
debug2: ???1467763: generator 0 != 3
debug2: ???1467764: (4) Sophie-Germain
2013 Oct 10
1
Rcpp and mclapply
Dear all,
I have an R script that uses Rcpp, and I have been trying to parallelize
it using mclapply (I tried with the multicore and the parallel library)
Sometimes (not always, interestingly), the CPU use for each core drops,
usually so that the total over all cores reaches 100%, i.e., as fast as if
using just one single core fully. I tried my code directly from within
emacs, and also using a
2003 Oct 22
2
non linear regression with R
Dear Colleagues,
I have x, y data (pollen and seed dispersal from oaks !) that I would
like to fit with a function which look like this:
p(a,b,x,y)=b/(2*pi*a?gamma(2/b))*exp(-(square_root(x?+y?)/a)power(b))
I am looking for a and b values that fit my data at best.
Can someone give me hints to perform such an analysis with R ?
Thanks a lot
Sophie
Sophie Gerber
2006 Sep 08
2
Multiple matrix multiplication with two 3-dimensional arrays
Hi,
I need to do several matrix multiplications with
the corresponding matrices forming two
3-dimentional arrays. To illustrate my problem,
let's say I have the following 3-dimensional arrays:
array1 <- array(1:30,dim=c(3,2,5))
array2 <- array(1:20,dim=c(2,2,5))
I know that I can get what I want with the following computation :
result <- array(dim=c(dim(array1)[1],
2018 May 24
2
question on setting ulimit on debian
Hi,
I?ve been trying to increase the number of open files for the dovecot user on Debian 9 and have so far, failed! I?ve tried this:
# cat /etc/security/limits.d/limits_dovecot.conf
dovecot soft nofile 2048
dovecot hard nofile 8192
# cat /etc/systemd/system/dovecot.service.d/service.conf
LimitNOFILE=8192
But to no avail:
# prlimit -p 27208|grep -i
2017 Jun 05
4
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
# doveconf -a
# 2.2.13: /etc/dovecot/dovecot.conf
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown setting: ssl
doveconf: Error: managesieve-login: dump-capability process returned 89
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 35: Invalid size: $default_vsz_limit
# grep default_vsz_limit
2005 Mar 31
2
Using kmeans given cluster centroids and data with NAs
Hello,
I have used the functions agnes and cutree to cluster my data (4977
objects x 22 variables) into 8 clusters. I would like to refine the
solution using a k-means or similar algorithm, setting the initial
cluster centres as the group means from agnes. However my data matrix
has NA's in it and the function kmeans does not appear to accept this?
> dim(centres)
[1] 8 22
> dim(data)
2004 Aug 13
2
Problem with samba and sophie
Hello,
I'm using Sambsa 2.28 and I've just installed Sophos anti-virus and
sophie 3.04rc2.
If I run sophie standalone to scan a directory/folder it all runs ok, as
it also does in daemon mode.
I've changed my smb.conf file to specify
vfs option=/usr/lib/samba/vscan-sophos.so
When I access the share I receive the following in the syslog:
samba smbd_vscan_sophos[6649]: ERROR:
2017 Jun 05
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Sophie
( ?? ?? ??)
> On 5 Jun 2017, at 09:42, Matthias Sitte <matthias at familie-sitte.org> wrote:
>
> I have the feeling that the config file is incorrect and loading
> subsequent files results in reading in entries at the wrong level?
>
> Could you attach the full 10-master.conf?
>
> Matthias
>
>
> On 06/05/2017 09:30 AM, Sophie Loewenthal wrote:
2011 Oct 11
1
warning with cut2 function
Dear r user,
please find my attached sample of the dataset i? am using to create a crosstable and eventually plot a histogram from the output.
I am using? the cut2 function to create bins, about 7 of them using the code after reading the data:
cluster <- cut2(cross_val$value, g=7)
I get the warning:
Warning message:
In min(xx[xx > upper]) : no non-missing arguments to min; returning Inf
2006 Feb 12
1
lme, nlsList, nlsList.selfStart
Dear listers,
I am trying to fit a model using nlsList() using alternately a SSfol()
selfstart function or its developped equivalent formulae.
This preliminary trial works well
mydata<-groupedData(Conc~Tps|Organ,data=mydata)
mymod1<-nls(Conc~SSfol(Dose,Tps,lKe,lKa,lCl),data=mydata)
as well as a developped form:
mymod2<-nls(Conc~Dose * exp(lKe+lKa-lCl) *
2007 Mar 07
3
possible bug in model.frame.default
Dear list,
I may have found a bug in model.frame.default (called by the lm function).
The problem arises in my R dev version but not in my R 2.4.0.
Here is my config :
> version
_
platform
x86_64-unknown-linux-gnu
arch
x86_64
2017 Jun 05
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Can you create file /etc/dovecot/conf.d/10-ssl.conf
and type in 'ssl = yes'
and nothing else? does it work after this? leave the default_vsz_limit
off for now.
Aki
On 05.06.2017 10:34, Aki Tuomi wrote:
> Can you remove the offending settings, and then send it?
>
> Aki
>
>
> On 05.06.2017 10:30, Sophie Loewenthal wrote:
>> # doveconf -a
>> # 2.2.13:
2006 Jan 20
3
Troubles with the function rmultinom.c of the R's Random Number Generator
Hi,
I'm simulating a Markov chain in Fortran interfaced with R-2.2.1 in order
to generate data according to a Markov Random Field called the Potts model.
R Version:
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 2.1
year 2005
month 12
day 20
svn rev 36812
Each loop of my Fortran calls the function rmultinom.c
2017 Jun 05
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Hi Aki,
# dovecot --build-options
Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192
Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c raw fail
SQL driver plugins: mysql postgresql sqlite
Passdb: checkpassword ldap pam passwd passwd-file shadow sql
Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file sql
--
On June 5, 2017 8:59:08 AM
2013 Jun 15
2
quick Help needed
Hi,
i am new to this forum and not sure how it works,
I am trying to do deskriptive descripe my data in terms of gender:
head(scltotal)
pbnr dat dep dys sop ago mis age female messpunkt2
messpunkt1 tage eintrittsjahr
1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75 35 1 8817
8817 0 1994
2 10023 1994-05-25 0.75 1.00 0.50 0.50 0.75 35 1 8910
8817
2017 Jun 04
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Hi Stefan,
My apologies for the long delay. Been ill.
I tried this and had an error,
# mv /etc/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/10-ssl.conf.bak
# cp -p /usr/share/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/
# /etc/init.d/dovecot restart
/var/log/daemon.log
Jun 4 11:05:55 mail systemd[1]: Starting Dovecot IMAP/POP3 email server...
Jun 4 11:05:55 mail systemd[1]: Started
2017 May 18
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Hi,
I've been trying to get dovecot2 running and kept having this error message:
May 13 13:38:32 mail systemd[1]: Started Dovecot IMAP/POP3 email server.
May 13 13:38:32 mail dovecot[2178]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 61: Unknown setting: ssl
# dovecot --build-options
Build options: ioloop=epoll notify=inotify ipv6 openssl