search for: mccallum

Displaying 20 results from an estimated 33 matches for "mccallum".

2013 Mar 19
0
Epple and McCallum TSLS example
Hello, I am trying to replicate the "missing example" of a TSLS estimation in Epple & McCallum (link below) http://wpweb2.tepper.cmu.edu/facultyadmin/upload/ppaper_32774807225408_Epple-McCallum93.pdf According to them, the commands are in: http://www.tepper.cmu.edu/faculty-research/faculty-pages/dennis-epple/simultaneous-equation-econometrics/index.aspx They use the Stata's command c...
2003 Jan 22
4
Read.table for macs
...to the first variable name. I've tried read.csv with csv files, read.delim, etc. None seem to work. Am I being really silly, and if so, how do you do it? Or is there an easier way to get data into the mac port? Or is the mac port entirely useless? Can anyone out there help? Thanks Hamish McCallum -- Dr Hamish McCallum Department of Zoology and Entomology The University of Queensland Brisbane 4072 Australia Phone (+617) 3365 2450 Fax (+617) 3365 1655
2006 Nov 17
2
Data table in C
...s there a better way of creating a 2 dimensional data frame with names columns? I could not find a "data.frame" object so I assume one has to use lists but I can't see how to get a 3 column list as the example below shows: a b d 1 1 4 7 2 2 5 8 3 3 6 9 Tom -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The c...{{dropped}}
2006 Nov 14
2
String to list and visa versa
...of that does something like this or any tips for doing this that anyone can suggest? I basically don't care upon the string representation, only that I can manipulate the list as a string and then reparse it back to a valid list object. Many thanks for your help, Tom -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The contents of this e-...
2006 Nov 09
2
Retrieving function name
...ction_name ) and it would print "m_function_name". So far all I can get is the function definition that myfunc points to. I thought the structure command might do it but this also just gives back the function definition and not the original name. Any suggestions? Tom -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The contents of this e-...
2006 Oct 27
1
Overloading functions
...of newg.R ########################## g <- function() { cat("New function g in newg.R"); } ################ END CONTENTS ############################### and call f( newGsource="newg.R" ) but I still get "Original function g". Any suggestions? Tom -- --- Tom McCallum WWW: http://www.tom-mccallum.com Tel: 0131-4783393 Mobile: 07866-470257
2006 Nov 21
1
dyn.load
...xternal 'R.dll'; function Get8087CW:word; begin asm fstcw result end; end; begin Rwin_fpset(); <============== these lines I think is called on loading of the DLL to reset the register Set8087CW(Get8087CW); <======== end. ===END DELPHI CODE===== -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The c...{{dropped}}
2006 Oct 25
1
Cross-compilation
...ing compilation. Has anyone got this tutorial to work and if so how did they overcome this? I am attempting to do this on Fedora Core 4 on a 32-bit machine, having completed all the previous sections of the tutorial for building a cross-platform version of R. Many thanks Tom -- --- Tom McCallum WWW: http://www.tom-mccallum.com Tel: 0131-4783393 Mobile: 07866-470257
2006 Jan 18
3
Partial Problems
Hey guys, I''m having a little trouble working out partials. I have successfully made a partial work in my list.rhtml, but as I see it on the 15min introductry video. They guy uses one partial on multipul pages. At the moment I am trying this in my show.rhtml, I write <%= render :partial => "journal" %> and I get this. NoMethodError in Write#show > > Showing
2006 Jan 16
1
ajax search
...thibbs.us/>, if see on the right hand side of his page he has a ''live search'' function. This is sort of what I would like to do, but theoretically it would fill up the whole page. If anyone could help me out with this or just direct me to a link, please do so. Thank You Levi McCallum humble pixel <http://humblepixel.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060116/fd93f8be/attachment.html
2012 May 30
2
Simple example for High performance computing with R?
...n calculation B. It will take some times. I just have one server with multiple core. I noticed that there are some nice package in R for parallel calculation, such as parallel, multicore and snow. Also there is a book, O?Reilly ? ?Parallel R, Data Analysis in the Distributed World? book by Q. Ethan McCallum and Stephen Weston. When track into these packages, I am a little of lost because I did not know parallel calculation too much. Could any one can give me some example codes for my purpose? So I can easy follow. Thank you very much in advance.
2007 Jan 30
4
Speed of for loops
...lapply as well but I have read that lapply is no faster than a for loop and for my particular application it is easier to use a for loop. Also I have seen 'rle' which I think may help me but am not sure as I have only just come across it, any ideas? Many thanks Tom -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The c...{{dropped}}
2007 Jan 30
4
Speed of for loops
...lapply as well but I have read that lapply is no faster than a for loop and for my particular application it is easier to use a for loop. Also I have seen 'rle' which I think may help me but am not sure as I have only just come across it, any ideas? Many thanks Tom -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The c...{{dropped}}
2006 Nov 22
1
Ralloc clash
...is coming up as a clash no matter which include ordering I use. In windows it has 2 arguments and is defined in objidl.h and in R.h it is 3 arguments. Any ideas of how to work round this? Have checked the web and have not seen anyone else comment on this. Many thanks Tom -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The c...{{dropped}}
2006 Dec 09
2
Floating point maths in R
...d be useful to know. what I would like is to be able to do sums such as (2.3456 - 2 ) == 0.3456 and get a sensible answer - any suggestions? Currently the only way is for formatC the expression to a known number of decimal places - is there a better way? Many thanks Tom -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The c...{{dropped}}
2002 Jun 09
1
S or R used in natural language processing (NLP)?
...wave-form processing package. What I'm looking for are routines to support text processing, text categorization, word sense disambiguation, text understanding etc. In particular, I would like to find a routine in R to perform "maximum entropy" classification. (Ref: Nigam,Lafferty,McCallum, "Using Maximum Entropy for Text Classification", http://citeseer.nj.nec.com/nigam99using.html) Thanks, John Day PhD Candidate Florida Tech Melbourne, FL -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.a...
2013 Jul 18
0
parLapplyLB: Load balancing?
...to parLapplyLB() that controls the size or number of chunks the input list X is split into? Additionally (or alternatively), communication overhead can be reduced by sending all additional arguments to the workers once and for all (a trick I have seen on page 20 of "Parallel R" by QE McCallum). Here is my version of it (the only difference to McCallum's code is that I moved LB.init() and LB.worker() to the inside of parLapplyLB2()): parLapplyLB2 <- function(cl, x, fun, ...) { LB.init <- function(fun, ...) { assign(".LB.fun",...
2006 Nov 07
1
variable problem
...something like for ( myvar in names( mylist ) ) { f( some_clever_substitution_to_act_as_argument(myvar) = mylist[[ myvar ]] ); } I hope I have explained myself clearly enough, if not please say so and I will try and give a better example. Many thanks for your help Tom -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The contents of this e-...
2006 Nov 17
1
Manipulating R lists in C
..._ELT( dimnames, 1, priceStr); SET_VECTOR_ELT( dimnames, 2, volumeStr ); // assign vector to original list of data setAttrib( priceList, R_DimNamesSymbol, dimnames ); <----- I think this is wrong but I don;t know what it should be ===========END EXTRACT=============== -- Dr. Thomas McCallum Systems Architect, Level E Limited ETTC, The King's Buildings Mayfield Road, Edinburgh EH9 3JL, UK Work +44 (0) 131 472 4813 Fax: +44 (0) 131 472 4719 http://www.levelelimited.com Email: tom at levelelimited.com Level E is a limited company incorporated in Scotland. The c...{{dropped}}
2006 Sep 12
2
Memory problems with a custom R package
Hi everyone, I have been attempting to build a very simple R package interfacing with some very simple C++ code. Everything I try though results in the function working but on return it produces a memory error. Here is the output: ***********OUTPUT*************************** > library(MyPackage) > hello(); *** caught segfault *** address 0x3, cause 'memory not mapped'