Displaying 20 results from an estimated 2994 matches for "industry".
2010 Aug 01
3
remove extreme values or winsorize – loop - dataframe
Hi everyone!
#I need a loop or a function that creates a X2 variable
that is X1 without the extreme values (or X1 winsorized)
by industry and year.
#My reproducible example:
firm<-sort(rep(1:1000,10),decreasing=F)
year<-rep(1998:2007,1000)
industry<-rep(c(rep(1,10),rep(2,10),rep(3,10),rep(4,10),rep(5,10),rep(6,10),rep(7,10),rep(8,10),rep(9,10),
rep(10,10)),1000)
X1<-rnorm(10000)
data<-data.frame(firm, industry,year,X1...
2011 Nov 18
1
Drawing ticks in the 3rd and 4th row of a lattice
Dear all,
I want to draw ticks on the 3rd and 4th row of a lattice. How do I do this
? In my search of the help, I discovered a parameter alternating,which kind
of says where the ticks will be but does not suffice for me.
I am running this command : -
barchart(X03/1000~time|Company,
data=df1[which(df1$time!=1),],
horiz=F,
2013 Apr 03
1
linear model coefficients by year and industry, fitted values, residuals, panel data
Hi R-helpers,
My real data is a panel (unbalanced and with gaps in years) of thousands of firms, by year and industry, and with financial information (variables X, Y, Z, for example), the number of firms by year and industry is not always equal, the number of years by industry is not always equal.
#reproducible example
firm1<-sort(rep(1:10,5),decreasing=F)
year1<-rep(2000:2004,10)
industry1<-rep(20,50)...
2010 Jan 20
7
Data Manipulation
Dear All,
I would like to to group the Ticker by Industry and create file names from
the
Industry Factor and export to a txt file.
I have tried the folowing
ind=finvizAllexETF$Industry
ind is then "Aluminum" "Business Services" "Regional Airlines"
ind2=gsub(" " ,"",ind)
ind3
[1] "Alum...
2009 Aug 09
1
help with a loop (coefficients with lmList)
Hi R-helpers.
#I start with the reproducible example:
firm<-c(rep(1,10),rep(2,10),rep(3,10),rep(4,10),rep(5,10))
year<-c(rep(1998:2007,5))
industry<-c(rep(1,20),rep(5,10),rep(7,10),rep(9,10))
X1<-rnorm(50)
X2<-rnorm(50,mean=0.5,sd=0.1)
Y<-rnorm(50,mean=0,sd=0.5)
data<-data.frame(firm, industry,year,X1,X2,Y)
data
#I need to calculate for all the industries the following
#coefficients and store it (lmList is from nlme package)
b...
2010 May 03
1
question about the degrees of freedom
...ion to answer,
so; i have a panel data which contains 48858 observations during 3 year therefore, there are 146574 observations in total,
i have 22 different industries defined by 2-digit codes
such as 11, 13,14,16...40 therefore, ind_2d contains 22 2-digit codes
for example; i want to do a by-industry analysis and this requires to estimate the same model for all 22 industry!
as i said total number of observations are 48858(each year), but the 11th industry has 9466 industries. i mean the code 11 corresponds to 9466 indsustries
so i want to run the regression just for these firms
ind_2d = is i...
2010 Apr 23
1
creating dummy with loop command
Dear R users,
I have a simple question (probably) but i couldnt how to find a solution for that.
i am using 2 digit industry codes and 3 digit industry codes for my model, and i need to create dummies for the industries. The case is simple for the 2-digit industries since there are not that mcuh of them, so i am creating my dummies as following
ind_2da<-(ind_2d==11)#for the 11th industry
ind_2dc<-(ind_2d==12)#for t...
2010 Apr 23
1
creating dummy with loop command
...Dimitri,
Thanks for help,
i knew that way that you have suggested but in fact my case is a little bit complicated than this,
therefore, i am writing a better explanation now,
my model is trying to see the effect of eco-innovative industries on total output, thats why i am trying to estimate by-industry regression:
the model is
lnQ~lnC+lnM+lnL+lnE+eco_inno+inno+(sum)ind_3d
capital,material expendtrs, #labor, energy expendtrs, eco-innovation expenditures and innovation expenditures
and i have in my disposal the 3-digit industry codes where total number of them are 99 ( not all of them belong to the...
2013 Jun 07
4
matched samples, dataframe, panel data
I R-helpers
#I have a data panel of thousands of firms, by year and industry and
#one dummy variable that separates the firms in two categories: 1 if the firm have an auditor; 0 if not
#and another variable the represents the firm dimension (total assets in thousand of euros)
#I need to create two separated samples with the same number os firms where
#one firm in the first...
2012 Jan 24
1
Splitting up large set of survey data into categories
Hi,
I am a total newbie to R so I apologize if the answer to my question is too
obvious. I a data set of the following form:
Date
V1
V...
VN
Region
Industry
22/03/1995 23:01:12
1
3
2
15
A
21/03/1995 21:01:12
3
3
1
9
C
1/04/1995 17:01:06
3
2
1
3
B
Now I would like to analyze the data in the data.frame by Region, Industry,
Date (I would like t...
2008 Jul 09
4
Auto Postback in Ruby On Rails
in some other language have a concept e.i "auto postback"
So, in Ruby on rails is there any such option e.i "auto postback"
or same as "auto postback"
basically what i want ot do is that i have 2 select box
One for "Industry" and other for "Chemical"
1st we show all the industry in "Industry" select box.
if we select any 1 industry from there, then the corrosponding
chemicals will b shown in the "chemical" select box...
please help me any one....
THankx
--~--~---------~--~----~--...
2008 Jun 12
0
Fwd: Complimentary Subscription to VoIP Industry Publication
So is this Digium taking over Pulver's' void? Same color scheme and fonts.
Thanks,
Steve
---------- Forwarded message ----------
From: Digium <webannounce at email.digium.com>
Date: Thu, Jun 12, 2008 at 10:34 AM
Subject: Complimentary Subscription to VoIP Industry Publication
To: stotaro at totarotechnologies.com
If you are having trouble reading this email, read the online version.
Complimentary Subscription to VoIP Industry Publication
If you are in the business of IP communications, then you will be
interested in keeping track of trends and developm...
2004 Aug 25
3
Wine and industrial communication like OPC
...se Wine to make OPC communication work with a Linux system.
OPC "OLE for Process Control"
A "general" standard for communication in industrial systems, that unfortunately is totally depending on Windows
I work on a small company in Sweden who make industrial computers for the industry, and when we a few years ago had to choose operating system for our new model I got them to choose Linux. And almost everything is perfect, we have had a working product for almost a year now, and everything is good.
But now our company needs to support OPC, this is a big problem that makes a lot o...
2010 May 03
2
question about the degrees of freedom
Dear R users,
I think i have a simple question which i want to explain by an example;
i have several 2-digit industry codes that i want to use for conducting by-industry analysis but i think there is a problem with the degrees of freedom!
for example, when i do my analysis without any 2-digit industry code, i got the following summary (i have 146574 observations in total):
> abc<-lm(lnQ~lnC+lnM+lnL+lnE+eco+...
2009 Dec 05
3
Referencing variable names rather than column numbers
.... I am a Stata user who
has begun using R, and the syntax differences still trip me up. The
most basic questions, involving as they do general terms, can be the
hardest to find solutions for through search.
Assume for the moment that I have a dataset that contains seven
variables: Pollution, Temp, Industry, Population, Wind, Rain and
Wet.days. (This actual dataset is taken from Michael Crawley's
"Statistics: An Introduction Using R" and is available as
"pollute.txt" in
http://www.bio.ic.ac.uk/research/crawley/statistics/data/zipped.zip.)
Assume I have attached pollute. Then
c...
2009 Jun 28
2
simple loop
Hi everyone!
I have this dataframe:
firm<-c(rep(1,4),rep(2,4),rep(3,4),rep(4,4),rep(5,4),rep(6,4))
year<-c(rep(2000:2003,6))
industry<-c(rep(10,4),rep(20,4),rep(30,4),rep(10,4),rep(20,4),rep(30,4))
X1<-c(10,14,18,16,20,45,23,54,24,67,98,58,16,32,57,12,54,0,0,22,11,3,5,6)
data<-data.frame(firm, industry,year,X1)
data
I need a loop that calculates the mean of X1 by year and
by industry and I need this values in a datafra...
2016 Oct 25
2
"incorrect GUID component for member" ... cannot delete member
I have defunct user's in groups in my domain groups - but it appears
that I cannot remove them. This membership is reported by "samba-tool
dbcheck" but are not fixed even if "-fix" is specified.
=== ldbmodify ===
[root at larkin27 ~]# ldbmodify -H /var/lib/samba/private/sam.ldb fix.ldif
ERR: (Unwilling to perform) "Unable to find GUID for DN
2010 May 03
2
Hierarchical factors
...s within states within countries within
continents. Other examples include occupational codes, biological
species, software types (R within statistical software within analytical
software), etc.
Such data structures commonly use hierarchical coding systems. For
example, the 2007 North American Industry Classification System (NAICS)
<http://www.census.gov/cgi-bin/sssd/naics/naicsrch?chart=2007>has twenty
two-digit codes (e.g., 42 = Wholesale trade), within each of these
varying numbers of 3-digit codes (e.g., 423 = Merchant wholesalers,
durable goods), then varying numbers of 4-digit cod...
2004 Dec 01
2
request for help on statistical applications in pharma
Hi all there
Can some one who have experience and knowledge in the pharma industry give me broad details on the subject "Statistical applications for pharma industry". I am new to the subject i.e. what kind of statistical tools used being unique /or atleast specific for pharma industry.
It will be of great help as i am actively looking into the subject. though i am q...
2008 Mar 10
4
internet search (not relate to Centos)
hi all, i have a little problem and seek for your advice.
search "jade sterling" on google, msn or any other, the return is:
Offering surplus bar and rod, selling to the Forging Industry, CNC
Machining Industry and Screw Machine Industry supplying hot rolled and
cold finished
i went through all my pages and can't find "Offering surplus". my
question is how do i remove these words???
i hope i don't have to contact google or msn.
thanks,
t. hiep
sorry for of...