Displaying 20 results from an estimated 200 matches similar to: "Multilevel analysis using nlme (lme) . Error using z-scores"
2010 Sep 09
1
Strange output daply with empty strata
Dear list,
I get some strange results with daply from the plyr package. In the
example below, the average age per municipality for employed en
unemployed is calculated. If I do this using tapply (see code below) I
get the following result:
no yes
A NA 36.94931
B 51.22505 34.24887
C 48.05759 51.00198
If I do this using daply:
municipality no yes
2011 Apr 14
0
Automatic splitting/combining nested categorical variable in glm
I have a categorical variable with a nested structure. For example,
region: a country is split into parts, which in turn contain
provinces, which contain municipalities:
Part -> Province -> Municipality
North
Province A
Municipality 1
Municipality 2
Municipality 3
...
Province B
Municipality 1
...
...
West
Province A
...
2007 Apr 03
0
Error messages after upgrading to OpenSSH_4.6p1
Hi,
I have upgraded the openssh (OpenSSH_4.6p1) on Solaris 8 server. After
upgrading I am getting the below error messages when we execute the
commands in remote systems using ssh. However the ssh works fine without
any issue. Please let me know is there is any fix for it.
Apr 2 03:05:39 hostname sshd[7294]: [ID 800047 auth.info] Accepted
publickey for user from xx.xx.xx.xx port 32808
2013 Mar 11
3
Optimization in R similar to MS Excel Solver
Dear all,
I am trying to find the solution for the optimization problem focused on the
finding minimum cost.
I used the solution proposed by excel solver, but there is a restriction in
the number of variables.
My data consists of 300 rows represent cities and 6 columns represent the
centres. It constitutes a cost matrix, where the cost are distances between
each city and each of six centres.
..+
2007 Apr 08
11
Error message after upgraing the openssh 4.6P1
Hi,
We have upgraded the openssh 4.6P1 on Solaris 8 servers. After upgrade
we get the below error message whenever we execute the remote commands
using ssh. Please let me know what the fix is for this.
Apr 8 03:03:43 dvsrv10 sshd[25379]: [ID 800047 auth.info] Accepted
publickey for osteam from 10.0.93.31 port 35856 ssh2
Apr 8 03:03:50 dvsrv10 sshd[25381]: [ID 800047 auth.error] error:
2008 Sep 07
2
restructuring datset problem
Hi,
I've got a question regarding the restructering of a data set. What I have are municipality zip-codes and the names of 5'000 built-up areas within municipalities. The following example shows, what I would like to do:
Input (Zip-Codes and Names):
# CODE NAME
#1 3 aaa
#2 3 aab
#3 3 aac
#4 4 bba
#5 4 bbb
#6 4
2006 Apr 13
1
Guidance on step() with large dataset (750K) solicited...
Hi.
Background - I am working with a dataset involving around 750K
observations, where many of the variables (8/11) are unordered factors.
The typical model used to model this relationship in the literature has
been a simple linear additive model, but this is rejected out of hand by
the data. I was asked to model this via kernel methods, but first wanted
to play with the parametric
2005 Dec 14
1
Need help for a statistical problem
Hello Dear
I need to select among 700 objects a good
representative sample. These
objects
could be residential houses, commercial buildings,
trucks, etc.
How to get a good sample size and select a set of
objects that is very
representative.
The second part of my question is to find a
statistical model in R that
detects objects that are most
likely used as their owners told the municipality. For
2010 Oct 09
1
Loss of precision in read.csv.
Given a csv file from this location
Airports<-"http://www.ourairports.com/data/airports.csv"
download.file(Airports,basename(Airports))
airports <-read.csv("airports.csv",encoding="UTF-8")
> airports[1,]
id ident type name latitude_deg longitude_deg
elevation_ft continent iso_country iso_region municipality scheduled_service
1 6523
2009 Mar 27
1
failed to join domain error
Dear All,
I have succesfully managed to have my kerberos configured n working
without error when i say
kinit Administrator
and after entering password i get the # prompt
so its works fine
my krb5.conf
--------------
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = BALADIA.LOCAL
2011 Oct 22
1
cycling through a long list of files and names
R2.13.2, W7x64
Dear list,
Excuse my ignorance, but I have gone through the R help (?parse, ?eval,
etc.) and still really don't know how to do the following.
I have the general following structure that I would like to automate
[edited to make it shorter]:
>>>
city1997 <- dataCleaning(read.csv2("C:\\city\\year1997.txt"))
city1997 <- wasteCalculations(city1997, year
2009 May 08
4
monitoring traffic through shorewall
Dear All,
I have been using -- shorewall-4.0.14-1 on Centos 5.2 and its been working
just great.
i would like to monitor shorewall traffic ( i mean the allowed and dropped
traffic passing through my firewall )with a browser from any location
apprecite if someone could help me or advice me which software or add on
utility would do the above.
really apprecite
thanks nd regards
simon
2009 Mar 19
0
Matching failure in merge()
Hi!
I've done a merging between 2 dataframes using merge():
delme <-
merge(miDUNS50peqB,Bnomscodmunicipis,by.x="POBLACION",by.y="NOMMUNI",all.x=T,sort=F)
After realizing some problems in the resulting dataset,
I've found that the problem was that, in some cases, there
was no match between the by.x and the by.y elements, despite the
fact that, apparently, such
2004 Aug 19
0
1 wk2 server with 2 names; is it possible?
Hi,
I tried to post in the windows newsgroup, but I didn't get replies
because maybe there the users are not very conscious of what they
are doing. ;-)
I can't choose to go with samba (as I'd like best), because on the w2k
server of the subject there are some windows application that
doesn't work on linux or samba.
Sorry if it's a FAQ, and if it is let me know where can I
2009 Mar 21
0
Solved: [Fwd: Matching failure in merge()]
I've found where the problem was and a way to solve this problem:
One dataset was encoded (and read) as UTF-8
and the other one was encoded (en read) as latin3
In this case, even if at the terminal you see
the same characters, R states that the two
elements are not equal.
Don't know if this is the way it has to be,
or this is a bug.
Anyway, editing the second file (encoded as latin3)
2019 May 02
3
Elegir más de un dato en data frame
Buenas tardes.
Tengo un data frame con el que me descargo una serie de datos municipalizados. Después extraigo los que corresponden al municipio que me interesa: paro.municipal <- paro.municipal[paro.municipal$provincia == "28" & paro.municipal$municipio == «115», ]. Todo correcto. El problema viene cuando quiero elegir más de un municipio: paro.municipal <-
2009 Oct 19
1
Combobox population by means of JQuery and Ajax.
This is the view municipalities.js.erb I have:
<% list_opt = options_from_collection_for_select(@municipalities, :id,
:name) %>
<% puts list_opt %> #ok! list_opt contains the options
$(''#municipality_id'').html(''<%= list_opt %>'');
and this is the combobox in the view:
...
Comune <select id="event_municipality_id"
2012 Mar 13
2
Manipulate strings reordering some elements
Hi R-Users,
I want to manipulate some strings in the following way. I have the
following vector with spanish municipalities:
municipios<-c("Allande", "Aller", "Amieva", "Avil?s", "Belmonte de
Miranda",
"Dega?a", "Franco (El)", "Gij?n", "Goz?n", "Grado", "Grandas de Salime",
2005 Jul 19
1
ROC curve with survival data
Hi everyone,
I am doing 5 years mortality predictive index score with survival analysis using a Cox proportional hazard model where I have a continous predictive variable and a right censored response which is the mortality, and the individuals were followed a maximum of 7 years.
I'd like to asses the discrimination ability of survival analysis Cox model by computing a ROC curve and area
2017 May 26
5
Unir municipios
¿Existe alguna función en el paquete "sp" para crear un mapa de comarcas a
partir de uno municipal? El "shp" de los municipios lo tengo… necesito crear
el "shape" comarcal…
Lógicamente tengo un data.frame con la variable "comarca"…
Normalmente en google suelo encontrar estas cosas, pero en este caso estoy
inusualmente muy perdido…
Gracias de antemano.