Displaying 20 results from an estimated 1727 matches for "capit".
Did you mean:
capi
2009 Nov 27
1
problem with "dynformula" from "plm" package [RE-POST]
Hello list,
I'm following the paper (http://www.jstatsoft.org/v27/i02/paper) on
how to use "plm" to run panel regressions, and am having trouble with
what I believe should be something very basic.
When I run the command (p.9 in the paper):
R>
dynformula(emp~wage+capital,log=list(capital=FALSE,TRUE),lag=list(emp=2,c(2,3)),diff=list(FALSE,capital=TRUE))
I see:
emp ~ wage + capital
rather than the complete model that is given in the paper:
log(emp) ~ lag(log(emp), 1) + lag(log(emp), 2) + lag(log(wage), 2) +
lag(log(wage), 3) + diff(capital, 2) + diff(capital, 3...
2006 Mar 04
6
Determine if a value is an instance of String , or Array , or...
each loop inside a mixed hash
I need to determine if the value is an instance of String
How ?
hash.each do |k,v|
if v ( instance of ) String
hash[ k ] = v.capitalize
enf
end
2003 Mar 26
1
formal methods and classes and capitalization conventions
Martin Maechler has suggested that I post this comment to r-devel. It was
originally posted to bioconductor.
---------------------------------
I'd like to raise the issue of a capitalization convention for naming
objects in R. Almost everything in R used to be lowercase but recently
there is increasing use of mixed upper/lower case to define names. There is
potential for using the capitalizations to make code more self explanatory,
but only if a consistent system is used....
2008 Aug 15
1
Vectorization of duration of the game in the gambler ruin's problem
Hey fellas:
In the context of the gambler's ruin problem, the following R code obtains the mean duration of the game, in turns:
# total.capital is a constant, an arbitrary positive integer
# initial.capital is a constant, an arbitrary positive integer between, and not including
# 0 and total.capital
# p is the probability of winning 1$ on each turn
# 1-p is the probability of loosing 1$
# N is a large integer representing the number of t...
2011 Jul 14
1
Correct behavior of Hmisc::capitalize()?
Hi,
from example(capitalize) of the Hmisc package (v 0.8.3) you get:
> capitalize(c("Hello", "bob", "daN"))
[1] "Hello" "Bob" "daN"
Is that "daN" correct?
If so, then this behavior that only *all lowercase strings*, which the
code indicates, w...
2014 Oct 13
16
[LLVMdev] RFC: variable names
...tions to change the naming of variables to start with a lowercase letter. This should not be a discussion on the pain of such a transition, or how to get from here to there, but rather, if there is a better place to be.
My arguments for the change are:
1. No other popular C++ coding style uses capitalized variable names. For instance here are other popular C++ conventions that use camelCase:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
http://www.c-xx.com/ccc/ccc.php
http://geosoft.no/development/cppstyle.html
And, of course, the all-lower-case conventions (e.g. C...
2010 Mar 18
1
capitalize and utf8 international symbols
Hi there,
Being a relatively happy Rails user I suddenly noticed that
string#capitalize and friends do not play well with international
characters well. Sample console session:
$ ./script/console
Loading development environment (Rails 2.2.3)
>> $KCODE
=> "UTF8"
>> "яблоко".capitalize
=> "яблоко"
Where "Яблоко" was expec...
2010 Mar 16
2
plm "within" models: is the correct F-statistic reported?
...runfeld, firm %in% c("General Electric",
"General Motors", "IBM"))
pgr <- plm.data(gr, index = c("firm", "year"))
> dim(pgr)
[1] 60 5
## the first example is actually on "individual" effects
> gr_fe <- plm(invest ~ value + capital, data = pgr,
+ model = "within", effect="individual")
> summary(gr_fe)
Oneway (individual) effect Within Model
Call:
plm(formula = invest ~ value + capital, data = pgr, effect = "individual",
model = "within")
Balanced Panel: n=3, T=20, N=60
Resi...
2003 Dec 01
0
No subject
...<control> 0x86 0x2020 DAGGER
0x87 0x0087 <control> 0x87 0x2021 DOUBLE DAGGER
0x88 0x0088 <control> 0x88 0x02C6 MODIFIER LETTER CIRCUMFLEX ACCENT=
0x89 0x0089 <control
> 0x89 0x2030 PER MILLE SIGN
0x8A 0x008A <control> 0x8A 0x0160 LATIN CAPITAL LETTER S WITH CARON=
0x8B 0x008B <control> 0x8B 0x2039 SINGLE LEFT-POINTING ANGLE QUOTAT=
ION MARK
0x8C 0x008C <control> 0x8C 0x0152 LATIN CAPITAL LIGATURE OE
0x8E 0x008E <control> 0x8E 0x017D LATIN CAPITAL LETTER Z WITH CARON=
0x91 0x0091 <control>...
2013 Apr 08
2
How can I extract part of the data in a panel dataset?
Taking the Grunfeld data, which is built-in in R, for example,
(1)How can I construct a dataset (or dataframe) that consists of the data
of all firms in 1951?
(2)How can I calculate the average capital in each form over the period
1951-1954?
What I can imagine is to categorize the data by firm, and then select the
data between 1951 and 1954 for each firm, but how can I do it?
Thanks,
Miao
Grunfeld data:
invest value capital firm year 317.6 3078.5 2.8 General Motors 1935
391.8 4661.7 52.6...
2010 Dec 15
3
How to apitalize leading letters & else of personal names?
Dear R world,
Do you know about a function that would capitalize in the correct manner
first and family names?
I found in the cwhmisc only the CapLeading function, but it just does not do
the job, taking care only to capitalize the first letter of a word.
I am looking for a function that would recognize " |'|Mc|-" and capitalize
the first let...
2004 Apr 20
1
directory permissions & smb.conf
...gelec 4096 Apr 15 13:46 share
within this directory.
drwsrwx--- 3 root siemagelec 4096 Apr 19 15:43 share
within this directory.
drwxrwx---- 5 root siemagelec 4096 Apr 15 13:46 Electrical
drwxrwx---- 5 root Marketing 4096 Apr 15 13:46 Marketing
drwxrwx---- 5 root Capital 4096 Apr 15 13:46 Capital
So meaning that if you have access to the 2nd share directory and you
belong to siemagelec you will only be able to access [read/write to the
Electrical folder]
This works,But it does not work for any of the other folders E.G
Marketing
Capital
Unless I change th...
2006 Feb 01
2
usernames with capitals
Hi, im new to the list, so bear with me if this was discussed earlier!
For historical issues we need to maintain usernames in all capitals ie. CD
our test environment is running centos 3.4 - our live environment is on redhat 8.0
the useradd program won't allow me to create a new user with capitals, and
usermod wont change a lower case user name to upper case!
What is my options now ? - do i have to hack the package or is the...
2002 Nov 05
0
login name - capital and lower case
...m wordering how Samba treats the user/account name of a logged in
W95 and/or W9x Client?
I have the following problem:
We want to switch our file- and printer services from netware to
samba 2.2.5. The client need also to connect to a netwarebased
oracle db 7.x.
When I log in to Samba as PDC with capital letters in the username box I am
able to use the Software System which is based on the oracle db and
distinguish
user account with lower and capital letters.
But when I log in with small/lower letters to the samba PDC the oracle db
will not recognize me as a valid user!
With a MS Client for Net...
2013 Jun 08
1
reading a character translation table into R
...fourth ? ¼ ¼ $\frac14$
fraction one-half ? ½ ½ $\frac12$
fraction three-fourths ? ¾ ¾ $\frac34$
inverted question mark ? ¿ ¿ ?'
capital A, grave accent ? À À \`A
capital A, acute accent ? Á Á \'A
capital A, circumflex accent ? Â Â \^A
capital A, tilde ? Ã Ã \~A
capital A...
2005 Apr 11
6
How to change letters after space into capital letters
What is the easiest way to change within vector of strings
each letter after a space into a capital letter?
E.g.:
c( "this is an element of the vector of strings", "second element" )
becomes:
c( "This Is An Element Of The Vector Of Strings", "Second Element" )
My reason to try to do this is to get more readable abbreviations.
(A suggestion would be...
2007 Dec 07
4
capitalizing an attribute - view, controller, or model?
The users will enter students names on forms. How do I intercept the
first and last names and have them stored capitalized when the user
inputs them in lower case?
Do I mess with the form html, skipping form_for helpers and using
conditional clauses in the view?
Do I need to separate out the individual attribute and update it
separately in the controller actions that save/updates the
record?(instead of the bla...
2013 Nov 06
6
Feature: make capitalization optional in *humanize*
According to the documentation<http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html#method-i-humanize> of
ActiveSupport::Inflector:
*humanize*(lower_case_and_underscored_word)
Capitalizes the first word and turns underscores into spaces and strips
a trailing “_id”, if any.
* Example: humanize("employee_salary") # => "Employee salary"*
I would like to submit a pull request for *humanize *to accept a second
optional parameter that would allow the stri...
2014 Oct 13
5
[LLVMdev] RFC: variable names
...t;> ammunition used by advocates of _ for ivars :-)
>>
>
> trailing or leading _ for ivars seem to be a common practice. What is the
> reason it s not used in LLVM?
>
[s/ivar/non-static data member/g; we're not using Objective-C ;-)]
Leading _ is incompatible with leading capital (it gives you a reserved
identifier and thus undefined behavior). I have seen this cause inscrutable
compilation failures in practice. (With Chandler's approach for initialisms
we may still get leading capitals.)
Trailing _ is better, but still suffers from bugs where the wrong entity is
use...
2004 Jan 19
1
Capital Letters - Charset problem
Hello,
I have a strange problem with samba 3.0.1 on suse 8.1, when I mount an
NT shared directory the accented capitals letters are not recognised.
Everything works fine except for files having accented *capitals*.
My smb.conf has:
unix charset = ISO-8859-15
display charset = ISO-8859-15
dos charset = CP850
unicode = No
I tried compiling libiconv and recompiling samba with it, but with no
result.
Anyone can g...