search for: poverty

Displaying 20 results from an estimated 49 matches for "poverty".

2012 Dec 30
3
Odds Ratio and Logistic Regression
Dear All, I am learning the ropes about logistic regression in R. I found some interesting examples http://bit.ly/Vq4GgX http://bit.ly/W9fUTg http://bit.ly/UfK73e but I am a bit lost. I have several questions. 1) For instance, what is the difference between glm.out = glm(response ~ poverty + gender, family=binomial(logit), data=mydata) and glm.out = glm(response ~ poverty * gender, family=binomial(logit), data=mydata) ? Which begs the question when I should use the "*" or "+" sign when doing a logistic regression on several explanatory variables. I think...
2009 Feb 26
1
error message and convergence issues in fitting glmer in package lme4
...county level. To do this I'm using the glmer() function in package lme4. I can fit relatively simple models (i.e. few covariates) but when expanding the number of covariates I usually encounter the following error message. > > gm8 <- > glmer(DIAB05F~AGE+as.factor(SEX)+poolt+poolx+poverty+fastfood+(1|as.factor(diab$fips)), family = binomial(link="logit"), data = diab, doFit=TRUE) Error in validObject(.Object) : > invalid class "mer" object: Slot Zt must by dims['q'] by > dims['n']*dims['s'] > > In the above, the response...
2009 Apr 19
2
Including a vector element in an if statement
Hi all, I've searched high and low on this and found nothing of help. I'm using v2.6.2 and trying to write a function that will count how many people from a dataset fall under a poverty line of 50% of the mean income. a9 is my 100-element vector of incomes. I want pa9 to be my vector that counts how many of these are classed as in poverty. My problem is that my command if(a9[i] < mean(a9)/2 ) returns an "argument is of length zero" error. But a9[i] is not really of...
2009 Feb 26
1
(no subject)
...prevalence at US county level. To do this I'm using the glmer() function in package lme4. I can fit relatively simple models (i.e. few covariates) but when expanding the number of covariates I usually encounter the following error message. gm8 <- glmer(DIAB05F~AGE+as.factor(SEX)+poolt+poolx+poverty+fastfood+(1|as.factor(diab$fips)), family = binomial(link="logit"), data = diab, doFit=TRUE) Error in validObject(.Object) : invalid class "mer" object: Slot Zt must by dims['q'] by dims['n']*dims['s'] In the above, the response is person-level diabet...
2009 Jul 30
2
Retrieving original data frame after repetition
...ce of code to do something very similar). Just in case anyone is wondering by now whether this is an assignment for college, etc.,-it is not. The real world problem I'm working on at the moment has to do with income distribution in Northern Ireland. I want to see how many people would leave poverty if the income of those currently below 60% median income increases by, say, £20 a week. I am working with the Family Resources Survey sample for Northern Ireland (n=2,263), which I have to gross up before increasing the incomes (grossed up n=1,712,886). Once I increased the income figures for those...
2004 Aug 12
0
updated package ineq 0.2-4
Dear useRs, my last announcement is an update of the ineq package for measuring inequality, concentration and poverty. The current version is now 0.2-4. Thanks to suggestions from Rein Halbersma the Pen() function for plotting Pen's parade was improved and now allows for much more flexibility. See the help page for examples. Best wishes, Z ------------- Package: ineq Version: 0.2-4 Date: 2004-08-10 Title:...
2004 Aug 12
0
updated package ineq 0.2-4
Dear useRs, my last announcement is an update of the ineq package for measuring inequality, concentration and poverty. The current version is now 0.2-4. Thanks to suggestions from Rein Halbersma the Pen() function for plotting Pen's parade was improved and now allows for much more flexibility. See the help page for examples. Best wishes, Z ------------- Package: ineq Version: 0.2-4 Date: 2004-08-10 Title:...
2009 May 26
0
Bootstrapping and estimation of standard error
Hello, I've started using R few months ago and I really like it. I need to estimate standard deviation of certain statistics (some measures of poverty). I found a really simple program, and I just need to check whether it's OK and really calculates what it's supposed to. Let's suppose e. g. head-count index (as one of the simplest measures of poverty) which is calculated as a proportion: q/n, where q is the number of poor and n is...
2012 Aug 27
2
littler and rJava
Hello list, I'm having some difficulty getting rJava to load in littler. Even after a R CMD javareconf and a reinstall of littler, I get this: jlaing at xenon:~$ r -e "require(rJava)" Loading required package: rJava Loading required package: methods Error : .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable
2009 Jan 19
1
conditional weighted quintiles
Dear All, I am economist and working on poverty / income inequality. I need descriptive statitics like the ratio of education expentitures between different income quintiles where each household has a different weight. After a bit of google search I found 'Hmisc' and 'quantreg' libraries for weighted quantiles. The problem is t...
2001 Mar 23
1
living with masq
...istribution release number 7.2, includes this patch routinely. I myself have never had a problem with it. Does it do anything nasty to other (non-Linux) systems? -- "I think that's how Chicago got started. A bunch of people in New York said, 'Gee, I'm enjoying the crime and the poverty, but it just isn't cold enough. Let's go west.'" -- Richard Jeni
2015 Jan 06
2
FAO Statistical Yearbook consultant
...Statistical Yearbook consultant The Food and Agriculture Organization (www.fao.org) is a United Nations agency that leads international efforts to reduce hunger in the world. This is achieved through three main goals: the eradication of hunger, food insecurity and malnutrition; the elimination of poverty and the driving forward of economic and social progress for all; and, the sustainable management and utilization of natural resources, including land, water, air, climate and genetic resources for the benefit of present and future generations. The Statistical Yearbook is a corporate publication t...
2003 Nov 15
5
correlation and causality examples
Dear All, I'am looking for examples showing that correlation does not imply causality, the targeted audience consists of undergraduate students (their first year at the university but in the BioMathStat track). All practicals are under R. I was able to extract this from R datasets: ### begin data(sunspots) data(lynx) spots <- window(sunspots, freq = 1, start = 1880, end = 1900) lnx <-
2003 Dec 01
1
Re: using shapefile as owin
...t)" for a demonstration See the Introduction and Quick Reference in /Users/lschwei/Library/RAqua/library/spatstat/doc > owin(shapepoly) Error in owin(shapepoly) : If one of xrange, yrange is specified then both must be. #end code Lisa ------- Lisa Schweitzer Center for the Study of Urban Poverty Dept. of Urban Planning University of California, Los Angeles (lschwei at ucla.edu)
2011 Feb 28
4
R help
Hi, I was wondering if anyone could provide me with help in entering the attached dataset into R? I've been having a hard time in trying to figure out how to assemble it into both a frequency table and a bar graph within R. I've been trying to present the way I have the data arranged in Excel Spreadsheet into R. I am uncertain what the correct commands and exact techniques are into
2015 Jan 12
2
FAO Statistical Yearbook consultant
...nsultant > > The Food and Agriculture Organization (www.fao.org) is a United Nations > agency that leads international efforts to reduce hunger in the world. This > is achieved through three main goals: the eradication of hunger, food > insecurity and malnutrition; the elimination of poverty and the driving > forward of economic and social progress for all; and, the sustainable > management and utilization of natural resources, including land, water, > air, climate and genetic resources for the benefit of present and future > generations. > > The Statistical Yearbook...
2006 Feb 16
2
looping through tasks
...dness, and if you give yourself to the hungry and satisfy the desire of the afflicted, then your light will rise in darkness and your gloom with become like midday and the Lord will continually guide you and satisfy your desire in scorched places' It?s not a coincidence that in the Scriptures, poverty is mentioned more than 2,100 times. It?s not an accident. That?s a lot of air time, 2,100 mentions. [You know, the only time Christ is judgmental is on the subject of the poor.] ?As you have done it unto the least of these my brethren, you have done it unto me.? (Matthew 25:40). As I say, g...
2018 Mar 26
2
Using R and the Tidyverse for an economic model
...; (4) display the results. My slides are mainly about (2) and (4), but do touch on the others. I suggest, for example, that legible R code for (3) could be used as a "reference standard" against which to describe the notoriously complex UK benefits system. Organisations such as the Child Poverty Action Group have written handbooks for benefits advisers which try to specify the system precisely. We'd like to use R for an electronic version of these. I've said quite a bit about R for probing and plotting data. Not only for economists, but for students learning about economics, fisca...
2005 Jul 15
2
Page Views & Icecast logs
hi i was involved in a webcast for the UK Make Poverty History event on July 2nd and have analyzed my Icecast logs using Sawmill (http://www.sawmill.net/) which supports Icecast logs: http://www.sawmill.net/formats/ice_cast.html looking at the data below i have been asked what the difference is between 'Page Views' and 'Visitors' with...
2015 May 28
0
Statistician for The Food and Agriculture Organization of the UN in Rome, Italy
...ements resulting from analyses. -?? Extensive and all around knowledge of R. -?? High degree of self-motivation. -?? Comfortable with databases. -?? Strong ability to communicate theories and results. Nice to have: -?? Experience with agriculture or trade statistics. -?? Knowledge of agriculture, poverty or rural development. -?? Experience with tools for reproducibility (https://github.com/jtleek/rpackages) -?? Creative data visualization. -?? Machine learning, spatial analysis, NLP, network analysis, etc. How to apply: If you are interested in this opportunity, please respond privately tojoshu...