question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>In <a href="http://www-stat.stanford.edu/~tibs/ElemStatLearn/">ESL</a>, Section 9.7, there is a paragraph stating that the computation time of a split in the growing of a classification (or regression) tree <em>typically</em> scales like $p N \log N$ where $p$ is the number of predictors and $N$ is the number of sam...
g15247
[ 0.011497062630951405, 0.014703754335641861, -0.030537210404872894, -0.015240352600812912, -0.028800124302506447, -0.07603266835212708, 0.02078019082546234, 0.023316871374845505, -0.05677478015422821, 0.023941051214933395, 0.00948751624673605, -0.02490278147161007, 0.05335027724504471, 0.02...
<p>I am fitting a 3-level model in Bugs. The data are in long format. The data consists of 885 Treatments in 1:3 COURSEs of treatment in 108 Patients (MRNs).</p> <pre><code>model{ for(DMRN in 1:NMRN) { RMRN[DMRN] ~ dnorm(meanMRN[DMRN], TMRN) meanMRN[DMRN] &lt;- intercept for(DCOURSE in SMRN[DMRN]:(SMRN[DMRN+1...
g37926
[ -0.011885945685207844, -0.08550248295068741, -0.02330280840396881, -0.051621612161397934, 0.033100735396146774, 0.046217694878578186, 0.038741450756788254, -0.021987363696098328, -0.013043330982327461, -0.014096719212830067, -0.009068901650607586, 0.04398137331008911, 0.03422524780035019, ...
<p>I am trying to decide if zero inflated poisson is appropriate for my data vs. a Poisson hurdle model.</p> <p>In background reading between the two I've run across a statement saying that a zero inflated model attempts to distinguish between true zeros and excess zeros. I'm having a problem understanding what is the...
g59621
[ 0.00897199846804142, 0.0025353762321174145, 0.005073361098766327, -0.043972209095954895, 0.013770310208201408, 0.02143998071551323, 0.035571951419115067, 0.03876977786421776, -0.008181393146514893, -0.02743946947157383, -0.03767090663313866, -0.003675084561109543, -0.00436550285667181, -0....
<p>I have some score values that are output from a program. There are about 10 such values. The data set is a measure of the "quality" of a speech waveform received over a mobile phone and landline channel. The waveform is passed through an algorithm and a score is received of its quality relative to a "golden" wavefor...
g15252
[ 0.008993060328066349, 0.004793823696672916, -0.003968579228967428, -0.11483431607484818, -0.027380000799894333, 0.013615472242236137, -0.01434357836842537, 0.038510240614414215, -0.03101668693125248, -0.05966053158044815, -0.06425605714321136, 0.0685257613658905, 0.028200652450323105, -0.0...
<p>I have data from two different sets (each with fields named <em>Mobile</em> and <em>Landline</em>). There are about 5 elements from each field in each set. They go something like so: </p> <p>Set A: </p> <pre><code>Mobile: 45 61 78 65 71 Landline: 56 71 75 98 12 </code></pre> <p>Set B: </p> <pre><code>Mobile...
g43199
[ 0.02778664417564869, -0.034139152616262436, -0.020133987069129944, -0.06925228983163834, -0.019397800788283348, 0.013049826957285404, -0.01922881230711937, -0.009234720841050148, -0.05861492455005646, -0.052041955292224884, 0.006452916190028191, 0.026384461671113968, 0.025614438578486443, ...
<p>I generate 3 or 4 lists (really tables? but read.csv gives me lists) all with a similar Time column on the far left. I have to format the time column since they all format it their own way (some including dates etc.), now I'm wondering if I should format it in # seconds instead of HH:MM:SS.mm. I thought I would ment...
g15253
[ 0.03481622785329819, -0.008056686259806156, -0.00032589249894954264, -0.005750463809818029, 0.026303695514798164, -0.004087489098310471, 0.004934921860694885, -0.08317574113607407, -0.05272579565644264, 0.013535347767174244, 0.054633162915706635, 0.028411228209733963, 0.012445432133972645, ...
<p>My data best fit is the 3 parameter inverse gamma distribution(thereby giving a, b, y variables with each event having a specific value for each variable) but I am not sure how to create a general equation for these equation...do I average each variable? or is there some other method?</p> <p>I've seen one research...
g59622
[ 0.0029121856205165386, -0.06414610892534256, -0.011236689984798431, -0.030638065189123154, 0.010119637474417686, 0.03123539499938488, -0.04106156900525093, 0.029611624777317047, -0.076978400349617, 0.004907034803181887, -0.0030489189084619284, 0.006697133183479309, 0.025039389729499817, 0....
<p>SUR means Seemingly unrelated regression, and SEM means simultaneous equation model. What is the difference between them? </p>
g15257
[ 0.04240349680185318, -0.027293993160128593, -0.026784632354974747, 0.04485706984996796, 0.011916046030819416, 0.016805728897452354, -0.0109238987788558, 0.04494309425354004, 0.03498001769185066, -0.015796992927789688, -0.00152025802526623, -0.016681402921676636, 0.06371651589870453, 0.0657...
<p>If parameter p ~ Beta(1,1), this would reflect we know nothing about parameter $p$. Generalizing to the multivariate case, how would the same be said about a vector $P$ of probability parameters $p_i$? </p>
g59623
[ 0.021281851455569267, -0.03179711475968361, -0.028779109939932823, 0.026793206110596657, 0.0337257906794548, 0.006079098675400019, 0.02780952677130699, -0.014505325816571712, -0.06469031423330307, 0.01999630406498909, -0.036313626915216446, 0.01602855883538723, 0.0009268884896300733, 0.027...
<p>The setup for this question is as follows. Lets say we have count and denominator data for six different study sites, by month for 12 months. They're all using a uniform diagnostic standard at the time, so theoretically their counts are all roughly the same. The goal of this is to get an estimate of the typical mont...
g59624
[ 0.034823961555957794, -0.07614796608686447, -0.018019739538431168, -0.04407086968421936, -0.03888711705803871, -0.04610155150294304, -0.009239884093403816, 0.033474888652563095, 0.01991577446460724, 0.010337410494685173, 0.056806422770023346, 0.014210863970220089, 0.04260656237602234, -0.0...
<p>I am performing (rare events) logistic regression analyses in R and want to test several categorical variables consisting of more than two classes. I understood that I can do this by using factor(). However, I am not sure what to do in case some, but not all categories are significant. Can I (1) just leave out the o...
g59625
[ -0.039542749524116516, -0.010582951828837395, 0.0015243908856064081, 0.0021675557363778353, 0.09176196157932281, -0.038653869181871414, -0.0027640494517982006, 0.058977458626031876, -0.011137289926409721, -0.02158184163272381, -0.03527919948101044, 0.032313279807567596, 0.05564747750759125, ...
<p>I am interested in calculating the power for the beta effect size, for example</p> <pre><code>Call: lm(formula = log1p(y) ~ x) Residuals: Min 1Q Median 3Q Max -0.5684 -0.1881 -0.0413 0.1494 1.2312 Coefficients: Estimate Std. Error t value Pr(&gt;|t|) (Intercept) 0.59725 ...
g59626
[ 0.005411175079643726, -0.031053267419338226, -0.0002166646154364571, -0.020487016066908836, -0.01857699267566204, -0.05210128054022789, 0.016480280086398125, 0.021899588406085968, -0.04829533398151398, -0.014798765070736408, -0.018765950575470924, 0.10990989953279495, 0.012887589633464813, ...
<p>I use "boot" package to compute an approximated <strong>2-sided</strong> bootstrapped p-value but the result is too far away from p-value of using t.test. I can't figure out what I did wrong in my R code. Can someone please give me a hint for this</p> <pre><code>time = c(14,18,11,13,18,17,21,9,16,17,14,15, ...
g49844
[ -0.04778009280562401, 0.019220536574721336, -0.007638101000338793, 0.0019504143856465816, -0.003098618471994996, 0.004964310210198164, 0.037456054240465164, -0.005299149546772242, -0.11598039418458939, -0.008545082993805408, -0.013677873648703098, 0.03289257735013962, 0.01653238944709301, ...
<p>So I've been digging into the math of correlations and covariances and one of my articles mentioned finding the covariance by using the common component, specifically with regards to, say, $cov(A + B, C + B)$.</p> <p>I know that $$Cov(A + B, C + D) = cov(A, C) + cov(A, D) + cov(B, C) + cov(B, D)$$ but it seems lik...
g59627
[ 0.05213361978530884, -0.027653981000185013, 0.005373177118599415, -0.06265607476234436, 0.037493351846933365, 0.02071373164653778, 0.08729101717472076, 0.04915349930524826, -0.022462235763669014, -0.010156504809856415, 0.012367522343993187, -0.013720965944230556, 0.012126019224524498, 0.03...
<p>I have a couple of questions related to estimation of high-dimensional precision matrix (inverse of the covariance matrix) in the case where p is close to 100 and n &lt; p. As a measure of estimation accuracy I am calculating a 'relative squarred error' defined in the following manner: $$ RSE(\Sigma^{-1},\hat{\Sigm...
g14375
[ -0.02745203673839569, -0.07110891491174698, 0.004540272522717714, -0.02514597773551941, -0.03122382052242756, -0.025835512205958366, 0.031511373817920685, 0.02833455055952072, -0.040975172072649, 0.07991299033164978, -0.02807873860001564, 0.05237492918968201, 0.04310756176710129, 0.0332712...
<p>Are there ways to <strong><em>estimate</em></strong> the finite sample bias with instrumental variables? I guess this would be conditional on assuming some structure to the problem and also would involve simulation, but, at least in applied econometrics papers, I have never seen people do it.</p> <p><em>PS: If poss...
g3360
[ 0.01616189442574978, -0.03160202130675316, 0.013904468156397343, -0.0322919599711895, 0.0067277271300554276, -0.011497589759528637, -0.010251619853079319, 0.016567155718803406, -0.012898772954940796, 0.012017904780805111, 0.019531549885869026, 0.05271180719137192, -0.004909921903163195, 0....
<p>Assume a true population of size N consisting of red and blue balls, where p represents the frequency of red in the population and q represents the frequency of blue in the population.</p> <p>Let's say that N=1000, p=0.7 and q=0.3.</p> <p>If I take a sample from the population and observe the frequencies in the sa...
g59628
[ 0.03801102563738823, 0.024587063118815422, 0.013954110443592072, -0.0610639825463295, 0.013394440524280071, -0.013100900687277317, 0.00894119031727314, 0.013336858712136745, -0.016154319047927856, 0.00986422412097454, -0.003263849997892976, -0.0162962656468153, 0.008350113406777382, 0.0257...
<p>I'm doing a mixed model analysis of a model with a categorical predictor (using glmer, binomial model). To my surprise, the variance I obtain for the intercept does not change when I change the reference level of this categorical predictor. This goes against my understanding that as the intercept is the log-odd for ...
g15266
[ -0.07735484093427658, -0.03365909680724144, 0.0054418002255260944, -0.022440820932388306, 0.07532668858766556, -0.018480245023965836, 0.08815819770097733, 0.039450813084840775, -0.060514818876981735, -0.03233814612030983, -0.04515547677874565, 0.016627956181764603, 0.06094339117407799, -0....
<p>I once read the following statement:</p> <p>Given the following equation</p> <p>$ Y_t= c + a Y_{t-1} + \theta_t$</p> <ol> <li>If $c\neq 0$, then the t-ratio for testing $H_0 : a=1$ is asymptotically normal. </li> <li>If $c=0$, then the t-ratio for testing will converge to another nonstandard asymptotic distributi...
g15267
[ 0.04623955860733986, 0.01022131647914648, -0.011281558312475681, -0.023665079846978188, 0.06672999262809753, -0.05536482855677605, 0.04027111455798149, 0.002431123051792383, -0.020648842677474022, 0.004396899603307247, 0.006813362240791321, -0.01168243121355772, 0.01155965868383646, 0.0416...
<p>In addition to <code>proc varclus</code>, <code>randomForest</code>, and assessing multicollinearity among potential predictor variables, I am seeking other methods of variable selection in lieu of using stepwise methods for building more parsimonious binary logistic regression models from a wide array of potential ...
g15433
[ 0.010556685738265514, -0.030674990266561508, 0.014835813082754612, -0.016662083566188812, -0.0013381484895944595, -0.10023266822099686, -0.029500873759388924, 0.0006063331966288388, -0.01074465736746788, -0.050038330256938934, 0.02012268267571926, 0.032618448138237, 0.03150958567857742, 0....
<p>Suppose I've a model such as </p> <p>$Y = \beta_0 + \beta_1 X_1 + \beta_2 X_2 + \cdots + \beta_k X_k + \epsilon$.</p> <p>Now, there's high correlation between $X_1$ &amp; $X_2$ (say over 60% but below 75%). Does that means this model has multicollinearity problem? Is there any relationship between highly correlate...
g49567
[ 0.02779795601963997, 0.013511906377971172, 0.019332492724061012, 0.007750809192657471, 0.06268023699522018, -0.0038742392789572477, -0.03636440634727478, 0.008029251359403133, 0.02221892960369587, -0.02894541807472706, -0.06276899576187134, -0.002184262964874506, 0.012711101211607456, 0.05...
<p>I am trying to fit some binomially distributed data to a model. There is a reasonable systematic error associated with the measurements. This uncertainty comes from imperfect theoretical knowledge of one of the parameters assumed by the model. I can calculate this number by 3 or 4 different methods and model the unc...
g15270
[ 0.01101104449480772, -0.06596668064594269, -0.009881950914859772, 0.039344191551208496, 0.02625085972249508, 0.02071310020983219, 0.01802150346338749, 0.05435657501220703, -0.05643291398882866, 0.022646714001893997, -0.02980826050043106, -0.005838837008923292, 0.04543302580714226, -0.02984...
<p>Suppose the set-up is that of typical logistic regression with individual-level covariates and binary outcomes, but instead of observing those outcomes, one only observes the proportion of 'successes' among known groups of the individuals. So the outcome is an aggregation of individual-level outcomes, but the indiv...
g59629
[ -0.047098301351070404, 0.01095519121736288, 0.000921025755815208, -0.01085231639444828, 0.01999041438102722, -0.020572885870933533, 0.026872139424085617, 0.005081492010504007, -0.03745713829994202, -0.03459986671805382, 0.018683647736907005, -0.0023542705457657576, 0.04412053897976875, -0....
<p>I have objects from two class -- 11 objects in each class. Where each object has 3 features. with such small dataset, does it make any sense to train &amp; use Naïve Bayes to classify new objects (test cases) ? </p>
g15434
[ -0.007235049270093441, -0.0065613132901489735, 0.020090358331799507, 0.013410363346338272, -0.014045287854969501, 0.001491186791099608, 0.0178744588047266, -0.02499622479081154, -0.021040016785264015, -0.0655575543642044, 0.015431146137416363, 0.015905577689409256, 0.10541713982820511, 0.0...
<p>I have what appears to be a relatively simple question, but am struggling to understand how to go about answering it.</p> <p>The general question is as follows:</p> <p>What is the expected value of $S_{I}$, where:</p> <p>$S_{I} = S$ if $S &lt;3000 $</p> <p>$S_{I} = 3000$ if $S &gt;3000$</p> <p>where $S$ is a co...
g15278
[ 0.035281118005514145, 0.04621215909719467, -0.012642732821404934, -0.042129483073949814, 0.0038968317676335573, -0.022633910179138184, -0.009814641438424587, 0.03200893849134445, 0.022654885426163673, -0.002831758465617895, -0.06534171104431152, 0.025330103933811188, 0.04377907142043114, -...
<p>I would like to pose this question in two parts. Both deal with a generalized linear model, but the first deals with model selection and the other deals with regularization.</p> <p><b>Background:</b> I utilize GLMs (linear, logistic, gamma regression) models for both prediction and for description. When I refer to ...
g37926
[ 0.04883313924074173, -0.03895042836666107, 0.00955372117459774, 0.05124055594205856, 0.03806591406464577, -0.0075625646859407425, 0.061984796077013016, 0.020339548587799072, -0.039075370877981186, -0.027464736253023148, 0.04111441224813461, 0.05748211592435837, -0.006270951591432095, -0.00...
<p>I am using the R package <em>penalized</em> to obtain shrunken estimates of coefficients for a dataset where I have lots of predictors and little knowledge of which ones are important. After I've picked tuning parameters L1 and L2 and I'm satisfied with my coefficients, is there a statistically sound way to summariz...
g59630
[ 0.035261549055576324, -0.0682176798582077, -0.007815364748239517, 0.013120429590344429, 0.02274506166577339, -0.020568255335092545, 0.0497954823076725, 0.03826700150966644, -0.036875102669000626, 0.010111633688211441, -0.012134671211242676, 0.022489825263619423, 0.064838707447052, 0.022345...
<p>I'm working on a little project involving the faces of twitter users via their profile pictures.</p> <p>A problem I've encountered is that after I filter out all but the images that are clear portrait photos, a small but significant percentage of twitter users use a picture of Justin Bieber as their profile picture...
g59631
[ 0.029369106516242027, -0.016589723527431488, 0.0135124446824193, 0.016354117542505264, 0.011319474317133427, -0.06934797763824463, 0.0827762559056282, -0.02203761786222458, -0.01881374791264534, 0.05321957916021347, -0.03620186448097229, 0.00468366127461195, 0.045968055725097656, -0.005701...
<p>I am totally confused: On the one hand you can read all kinds of explanations why you have to divide by n-1 to get an unbiased estimator for the (unknown) population variance (degrees of freedom, not defined for sample size 1 etc.) - see e.g. <a href="http://en.wikipedia.org/wiki/Bessel%27s_correction" rel="nofollow...
g59632
[ 0.06332682818174362, 0.003688897704705596, -0.021232852712273598, 0.013477489352226257, 0.0016189003363251686, -0.009805696085095406, 0.04965491592884064, 0.019979318603873253, 0.0008323982474394143, -0.01013138610869646, 0.012886252254247665, -0.0607711598277092, -0.01490007434040308, -0....
<p>Given a panel of countries over time, a fixed effects estimator makes sense to control for country-specific effects. My intuition tells me that if the dependent variable is correlated with lags of the independent variables, then bias will be introduced into the estimator. However, I'm having difficulty rigorously un...
g59633
[ 0.04993179440498352, -0.0172031968832016, -0.00943754706531763, -0.03546089306473732, 0.017114123329520226, -0.0007190800970420241, 0.03263252601027489, 0.03914376720786095, -0.04526010528206825, -0.017949242144823074, 0.0034922861959785223, 0.04571400582790375, 0.019250713288784027, 0.034...
<p>I have made a heatmap based upon a regular data matrix in R, the package I use is <code>pheatmap</code>. Regular clustering of my samples is performed by the <code>distfun</code> function within the package. </p> <p>Now I want to attach a precomputed distance matrix (generated by Unifrac) to my previously generated...
g59634
[ 0.024440189823508263, -0.06036721169948578, 0.0075934212654829025, -0.044705234467983246, -0.0006776356021873653, -0.0732804387807846, 0.016359930858016014, 0.03048337809741497, -0.07795288413763046, -0.05456625670194626, -0.006457349751144648, -0.011166142299771309, 0.06795938313007355, -...
<p>I am running a logistic regression with customer event data with multiple predictors. However, one variable is extremely important, alone predicting 60% of the customers for the event. When this main predictor is included in the model, other predictors add very little to prediction over and above this main predictor...
g15283
[ 0.0507027842104435, -0.025159113109111786, 0.03736106678843498, -0.014278076589107513, 0.024426838383078575, -0.026915136724710464, -0.03774147853255272, 0.03125488758087158, -0.018085427582263947, -0.028639500960707664, 0.0285443514585495, 0.026112131774425507, -0.003909581806510687, 0.00...
<p>HI there: I have a one likert item I would like to analyze. I know that most scales require multiple likert items, but this is just an exploratory exercise of an existing survey. It's out of my control.</p> <p>When I treat the likert categories (strongly support - support - oppose -strongly oppose) as a numeric va...
g27721
[ -0.05068902298808098, -0.0019119384232908487, -0.006549504119902849, -0.0010476286988705397, 0.04288480058312416, -0.040614303201436996, -0.0668487474322319, 0.053024858236312866, -0.02590787783265114, -0.020213168114423752, -0.012168570421636105, -0.03149104118347168, -0.008039843291044235,...
<p>I am a complete beginner at using R but have recently been running some code that a colleague gave me to connect R to a Microsoft Access database and pull out specific records. However a few days ago it stopped running. The error appears when trying to connect to the database (using the RODBC package) and import the...
g59635
[ 0.04010358080267906, -0.0667840912938118, -0.008046078495681286, -0.06644027680158615, -0.014916535466909409, -0.004342773463577032, 0.014480171725153923, 0.02747821994125843, -0.0359509252011776, 0.009449954144656658, -0.015452973544597626, 0.019395560026168823, -0.022664161399006844, -0....
<p>I'm working on the dataset with lots of NA values with sklearn and pandas.DataFrame. I implemented different imputation strategies for different columns of the dataFrame based column names. For example NAs predictor 'var1' I impute with 0's and for 'var2' with mean.</p> <p>When I try to cross validate my model usin...
g20592
[ 0.017263872548937798, -0.006728603970259428, 0.011729027144610882, -0.04975583776831627, 0.034771598875522614, 0.023342221975326538, 0.005596607457846403, 0.027166038751602173, 0.006376736797392368, -0.0037672820035368204, -0.01492248009890318, -0.03757650405168533, 0.019137028604745865, 0...
<p>I have a set of objects, each of which can be assigned to another object within the set in a many-to-one, directional assignment, like a vote. Objects cannot be assigned to themselves reflexively, but they can be in an unassigned state ("not voting"). So for example, the set <code>{A, ..., Z}</code> plus relation co...
g59636
[ -0.04257553443312645, 0.025258511304855347, 0.015523322857916355, -0.06560614705085754, 0.017934737727046013, -0.06880491226911545, 0.024912159889936447, 0.05598413199186325, 0.026918988674879074, 0.03438941389322281, 0.01006745919585228, 0.031871698796749115, 0.06574776768684387, 0.070371...
<p>When computing the difference between means I can resolve a new mean, variance, standard error of the mean, and margin of error, but is there a way to compute a new/composite sample size value?</p> <p>I ask because I use the difference between means as a way to calibrate the mean and later when comparing other cali...
g15292
[ 0.0015239933272823691, -0.004917697515338659, -0.026930714026093483, -0.04334248974919319, 0.009754150174558163, -0.07015448063611984, -0.015014378353953362, 0.02709599956870079, -0.06776116043329239, -0.03549324348568916, -0.011440210975706577, -0.0004495970206335187, 0.043491631746292114, ...
<p>In a field experiment involving crops, what is the difference in considering block as random or otherwise as fixed factor? As far as I understood, random means that conclusion can be extended to other levels not included in the study; fixed factor on the contrary restricts the analysis only to a specific experiment....
g59637
[ 0.03788869082927704, 0.014251628890633583, 0.010022219270467758, -0.02176748402416706, 0.0011358693009242415, -0.020522169768810272, 0.06037786975502968, 0.014969606883823872, -0.00964894238859415, -0.03891923651099205, -0.01601017452776432, 0.01048311684280634, -0.0012438762933015823, 0.0...
<p>I have a problem. I am creating a wide barplot (50x grouped 4 columns) and printing it to ps. However the figure does not fit to printed ps - the x axis goes out of a page. It would fit if only I could remove a large left margin on yaxis. But I have no idea how to move picture left and reduce the margin. I have spen...
g37552
[ 0.008303162641823292, 0.012280380353331566, 0.0018719648942351341, -0.0449354313313961, -0.03483736142516136, -0.028373008593916893, 0.019181648269295692, 0.031050071120262146, -0.05239318311214447, -0.026342490687966347, 0.015851078554987907, 0.04135887324810028, -0.0072882818058133125, -...
<p>I am trying to understand question 9-1 on p.334 in Cameron &amp; Trivedi (<a href="http://www.centroportici.unina.it/centro/Cameron&amp;Trivedi.pdf" rel="nofollow">link</a>) where I have to calculate the bias of a kernel density estimate at $x=1$ and $n=100$, where we assume that the underlying density is standard n...
g408
[ -0.009213992394506931, -0.010267050936818123, -0.02008833736181259, -0.03721385449171066, -0.01771615818142891, -0.030463932082057, 0.0015309365699067712, 0.0011917235096916556, -0.030051356181502342, 0.05166644975543022, 0.019960619509220123, 0.012575783766806126, 0.021952837705612183, 0....
<p>After using <code>ezANOVA</code> as my primary way of specifying mixed ANOVAs, I've hit a stumbling block when it come to adding a covariate to the model. I am using an ANCOVA in order to determine if there is a developmental trajectory in my data; namely, I need to be able to see the F-statistic and p-values for in...
g59638
[ -0.010342773050069809, -0.011964532546699047, -0.006243941839784384, -0.07332002371549606, -0.006209015380591154, 0.0268844123929739, 0.10190808027982712, -0.03162475675344467, -0.004673600662499666, 0.01651724986732006, 0.008951807394623756, -0.038467150181531906, 0.10995035618543625, 0.0...
<p>A group of raters (about 20) will be watching a series of videos and will be classifying them into 4 categories. I will be running a Fleiss' kappa to measure the agreement. How does one compute for the sample size to arrive at 0.8 power, 0.05 alpha? Also, will that sample size be the number of videos to be evaluated...
g59639
[ -0.05961441248655319, 0.007795167155563831, 0.005302972160279751, -0.021840404719114304, -0.004753237124532461, -0.0697258785367012, -0.007663610856980085, 0.059721946716308594, -0.06931570172309875, -0.03547825291752815, 0.005571435205638409, 0.033629436045885086, 0.01578378677368164, 0.0...
<p>I'm struggling with analysing my survey results in SPSS and really hoping you can help. I surveyed occupational therapists around aspects of their practice, on a national level and the seniority of my sample were made up of the following:</p> <p>Band 5's- 8 Band 6's- 25 Band 7's-35 Band 8's- 6</p> <p>This dist...
g59640
[ -0.0044215223751962185, -0.019540339708328247, -0.01991429179906845, -0.12692348659038544, -0.005223140120506287, 0.02316947467625141, 0.017245622351765633, 0.0624522939324379, 0.07904832810163498, -0.01191792357712984, -0.009077508002519608, -0.010084163397550583, 0.07995902746915817, -0....
<p>If $X = \begin{pmatrix} X_{1} \\ X_{2} \end{pmatrix}$ (with $X_{1},X_{2} \in \mathbb{R}^{n}$) follows a gaussian distribution $\mathcal{N}(\mu,\Sigma)$. What is the distribution of $\Vert X_{1} \Vert^{2}$ (where $\Vert \cdot \Vert$ denotes the euclidean norm on $\mathbb{R}^{n}$). </p> <p>If $\Pi=\left( \begin{array...
g15296
[ -0.0053797936998307705, -0.05134513974189758, -0.029577696695923805, -0.053186509758234024, 0.01919093355536461, -0.024159925058484077, -0.002260294510051608, -0.02851765789091587, -0.02667456492781639, 0.03147874027490616, -0.01862235926091671, 0.0371297262609005, 0.027286645025014877, 0....
<p>I collect some data out of a survey. And now I want to analyse the answers. The question consists of needed features in a Tool. These features can be rated from 1 to 5.</p> <p>Table of the features an their rating:</p> <pre><code>F.1 F.2 F.3 F.4 F.5 F.6 5 4 5 5 5 4 4 4 5 5 3 5 5 3 4 4 2...
g59641
[ -0.031703606247901917, -0.05318260192871094, -0.008558633737266064, -0.028060808777809143, 0.04984084889292717, -0.041425324976444244, 0.030535463243722916, -0.020171066746115685, -0.07261300086975098, -0.041001856327056885, -0.02231934666633606, 0.043395835906267166, 0.05636967346072197, ...
<p>I am doing multiple comparisons with several thousand independent alternatives. None are statistically significant when Bonferroni corrected; however, many more are significant when uncorrected than expected by chance, so I compute this probability to show that most of my low p-valued tests are true. </p> <p>Can an...
g59642
[ 0.03192321956157684, 0.019195690751075745, -0.010793906636536121, -0.013348007574677467, 0.006835720036178827, -0.054578449577093124, -0.009825487621128559, 0.01874772273004055, -0.03570208325982094, -0.016930829733610153, 0.00330263189971447, -0.013490189798176289, -0.004982735961675644, ...
<p>I am trying to make sense of the spearman test I am getting as a result of using <a href="http://stat.ethz.ch/R-manual/R-patched/library/stats/html/cor.test.html" rel="nofollow">cor.test on R package</a>. <a href="http://geography.uoregon.edu/geogr/topics/interpstats.htm" rel="nofollow">This page</a> seemed to me to...
g3369
[ 0.028460290282964706, -0.03911558538675308, -0.020625775679945946, -0.033635012805461884, 0.04763861000537872, 0.00960083119571209, 0.10873634368181229, 0.03499423712491989, -0.010769378393888474, -0.02922600880265236, -0.004667890723794699, 0.02088415063917637, 0.035780854523181915, 0.016...
<p>I have two data sets, one data set contains value in the range of 10,000- 1,000,000 and other data set contains the value between 1,000-10,000. I want to compare the variability means,which data has more variability.</p> <p>Do I need to first standardized / normalized the data and then compare the variance, but sta...
g59643
[ 0.018114618957042694, 0.008885815739631653, -0.011428169906139374, -0.010794328525662422, -0.005710130091756582, -0.03441879153251648, 0.00494418665766716, -0.006140423938632011, -0.04293571040034294, -0.0800638273358345, -0.014051243662834167, 0.04399175941944122, 0.01004299521446228, -0....
<p>I am carrying out an analysis using a 4$\times$2 crosstab. I found an overall significant difference but I would like to find if there are significant differences among the 4 groups. Is there a way to carry out these multiple comparisons?</p>
g59644
[ -0.022671952843666077, -0.036126550287008286, -0.01067629735916853, 0.006433550734072924, 0.00766396801918745, -0.03779752925038338, 0.04629749804735184, -0.045846473425626755, -0.07701360434293747, 0.037985075265169144, -0.015663864091038704, -0.017091212794184685, 0.018115274608135223, 0...
<p>I have around 5 million observations of weights of patients over the course of a year. Some patients have one measurement during that year and others have 30-40 (or more). I've noticed a great deal of variability. For example, on one day a patient will have a recorded weight of 120 lbs and the next a recorded wei...
g59645
[ 0.0009787059389054775, 0.009801916778087616, -0.016968460753560066, -0.03390635550022125, 0.0017107423627749085, -0.03489682823419571, 0.03817614167928696, -0.008655206300318241, -0.03741541877388954, 0.002441292628645897, 0.015974296256899834, 0.030663494020700455, 0.06101930886507034, 0....
<p>Consider the following cell biology experiment. We are comparing $T$ different treatments of cultured cells. Each treatment $t$ is replicated in several <em>(microtiter) wells</em>, indexed by the variable $w \in \{1, 2, \cdots, W\}$. To measure the response to the treatment in well $w$, a total of $F_w$ non-over...
g59646
[ -0.02670932747423649, -0.04635603725910187, -0.02203555777668953, 0.013724405318498611, 0.014625851996243, -0.06370829790830612, 0.0826864168047905, -0.020194396376609802, -0.020344454795122147, 0.001777384546585381, 0.017965545877814293, 0.05570482462644577, 0.030271830037236214, 0.053137...
<p>I have monthly precipitation for one site over a 35 year period. I would like to test if the total precipitation for a specific year is equal to the mean total precipitation for the rest of the period of record. In addition, I would also like to split the data into wet season [Nov-April] vs dry season [May-Oct]. </...
g59647
[ 0.009140667505562305, -0.05073096603155136, -0.009302118793129921, -0.09860751032829285, -0.017481813207268715, -0.017594290897250175, 0.09395294636487961, -0.026525188237428665, -0.002911966759711504, -0.009315037168562412, 0.03854283690452576, -0.0009968120139092207, 0.045026879757642746, ...
<p>This has come up in a few questions now, and I've been wondering about something. Has the field as a whole moved toward "reproducibility" focusing on the availability of the original data, and the code in question?</p> <p>I was always taught that the core of reproducibility was not necessarily, as I've referred to ...
g15306
[ 0.02715885266661644, 0.0025020851753652096, -0.011704010888934135, -0.006415067706257105, 0.04852818697690964, -0.006652046460658312, 0.038757260888814926, 0.020131388679146767, -0.005308641120791435, -0.03847134858369827, 0.00017627517809160054, 0.019661106169223785, 0.05314554646611214, ...
<p>I'm running Linear Discriminant Analysis on a dataset and then performing clustering on it. I'm reducing it to dimensions 2,6,10. On comparing metrics like Accuracy and Normalized Mutual Information, the values at dimension 6 reduce by almost half. While at dimension 10 it is close to dimension 2. I'm not able to co...
g44644
[ 0.04583001136779785, -0.06907811015844345, -0.011096905916929245, -0.00793630350381136, 0.02769588865339756, 0.0019538195338100195, 0.05260547250509262, 0.014885074459016323, -0.10253734141588211, -0.04523736238479614, 0.02984437346458435, 0.04690573737025261, 0.08215709775686264, 0.030190...
<p>I have got an important question concerning principal axis factor analysis: Is it possible to extract the factors according to the MAP-criteria, or is this criteria only valid when using principal component analysis?</p>
g59648
[ 0.005065671168267727, 0.0008562752627767622, 0.022751931101083755, -0.025277581065893173, -0.01694631576538086, -0.040287960320711136, 0.0578378401696682, 0.011667979881167412, -0.00013482086069416255, 0.029848922044038773, -0.004800876136869192, 0.042656056582927704, 0.02427339181303978, ...
<p>There have been studies done that report that heterosexual individuals are somewhat more likely to be right-handed than homosexual individuals. Does it necessarily follow that left-handed individuals are more likely to be homosexual than right-handed individuals? I feel like this is a mathematical concept I can't ...
g15307
[ 0.028628820553421974, -0.015719132497906685, 0.00810271967202425, 0.011725563555955887, 0.03018474578857422, 0.0016088589327409863, 0.03910776227712631, -0.006666404195129871, -0.009830610826611519, 0.012208045460283756, 0.01632000133395195, 0.010753119364380836, -0.026386750862002373, 0.0...
<p>The table below displays the number of accidents recorded at a particular intersection during each of the four seasons last year:</p> <pre><code> Season Spring Summer Fall Winter no. of accidents 13 24 18 25 </code></pre> <p>We would like to conduct a chi-square goodness-of-fit test to d...
g59649
[ 0.00023140835401136428, -0.03315863013267517, -0.01807289943099022, -0.01602688804268837, 0.005918164271861315, -0.05588792264461517, 0.08425607532262802, 0.06275930255651474, -0.00738939456641674, -0.029736189171671867, -0.041507408022880554, 0.00013992135063745081, 0.048377711325883865, ...
<p>I have R-scripts for reading large amounts of csv data from different files and then perform machine learning tasks such as svm for classification. <br> Are there any libraries for making use of multiple cores on the server for R. <br> or <br> What is most suitable way to achieve that?</p>
g44649
[ 0.0008980610291473567, -0.004269900266081095, 0.000785880081821233, -0.0278095081448555, -0.006628986448049545, -0.044034190475940704, -0.0002400061785010621, 0.012614470906555653, -0.03589225187897682, -0.03154277056455612, 0.050463125109672546, 0.02164115197956562, 0.07740554958581924, 0...
<p>I am building a web application for used book trading and I am adding a feature to propose other book that would be interesting when they view an offer.</p> <p>Currently the data that I store are the following (they are updated each time someone visit an offer) :</p> <p>ISBN (book of the offer)<br> SessId (a uniqu...
g59650
[ -0.01946628838777542, -0.0037937520537525415, 0.0030311227310448885, -0.024868488311767578, 0.01567504182457924, 0.023736538365483284, -0.015551982447504997, 0.016293160617351532, -0.02579076588153839, 0.04866333305835724, 0.05440809577703476, -0.053727731108665466, 0.08044581115245819, 0....
<p>I could use some guidance about presenting some data. </p> <p>This first plot is a case-control comparison for the cytokine IL-10. I've manually set the y axis to include 99% of the data.</p> <p><img src="http://i.stack.imgur.com/mm8Tk.jpg" alt="IL-10 With Manual Y axis"></p> <p>The reason I set this manually is ...
g59651
[ 0.04432950168848038, -0.006077729631215334, -0.012618542648851871, -0.04998018220067024, -0.006182764191180468, -0.039807625114917755, 0.03590892255306244, -0.01875338703393936, -0.024921273812651634, -0.003728942247107625, 0.041833337396383286, 0.007973628118634224, 0.020992374047636986, ...
<p>I am not a statistician but my research work involves statistics (analyzing data, reading literature, etc.). I was again reminded from a comment on one of my questions posted <a href="http://stats.stackexchange.com/questions/80789/alternative-to-multiple-fishers-exact-tests">here</a> that there are some common words...
g59652
[ 0.01177268847823143, 0.050376493483781815, -0.010091778822243214, -0.038766637444496155, 0.005172000266611576, -0.055447161197662354, -0.004374327603727579, 0.012777992524206638, 0.04111045226454735, 0.008937666192650795, -0.06738751381635666, -0.036525603383779526, 0.02941286377608776, 0....
<p>I am trying to use the dismo package to build up a BRT model with presence-only data. I have randomly sampled 10 000 background data. My questions is: do I need to run 10 (or 5) replications of the brt model on the dataset like a conventional cv procedure? For example, for each replication, 60% of the presence data ...
g59653
[ 0.008575516752898693, -0.02993408404290676, 0.017390483990311623, -0.0005153995589353144, -0.0089832479134202, 0.006313037592917681, 0.03597329929471016, 0.05058858171105385, -0.045737095177173615, -0.0035384856164455414, -0.02384956181049347, 0.05741025507450104, 0.04514751955866814, 0.02...
<p>I want to analyze fish aquaculture data comparing growth rates by state and controlling for tank effects as a mixed effect. I will use the equation</p> <p>$$ w = aL^b $$</p> <p>but I want <code>b</code> to be a function of state of origin. I can do this using the <code>nlme</code> function in the <code>nlme</code>...
g59654
[ 0.0053361100144684315, -0.03634997457265854, -0.003406892064958811, -0.06132553890347481, 0.009607543237507343, -0.04674535244703293, 0.061529699712991714, -0.04649389535188675, -0.02915819175541401, -0.010661431588232517, 0.014559327624738216, 0.03677673265337944, 0.12173277139663696, 0.0...
<p>For some measurements, the results of an analysis are appropriately presented on the transformed scale. In most of the cases, however, it's desirable to present the results on the original scale of measurement (otherwise your work is more or less worthless). </p> <p>For example, in case of log-transformed data, a p...
g59655
[ -0.009026017040014267, 0.00848352164030075, -0.011884811334311962, -0.05829143896698952, 0.03731901943683624, -0.007064610719680786, -0.01588997058570385, 0.005892117507755756, -0.03670375421643257, -0.03021690621972084, -0.020184865221381187, 0.009314339607954025, 0.0406523235142231, -0.0...
<p>After reading a dataset:</p> <pre><code>dataset &lt;- read.csv("forR.csv") </code></pre> <ul> <li>How can I get R to give me the number of cases it contains?</li> <li>Also, will the returned value include of exclude cases omitted with <code>na.omit(dataset)</code>?</li> </ul>
g44660
[ 0.03841114416718483, 0.004841385409235954, -0.014437904581427574, -0.040813036262989044, -0.020406344905495644, -0.00006038874198566191, 0.0009335681679658592, 0.035905349999666214, -0.02842768095433712, -0.05599568039178848, -0.00393634382635355, 0.0031937211751937866, 0.08691596239805222, ...
<p>I am trying to analyse some data using a mixed effect model. The data I collected represent the weight of some young animals of different genotype over time.</p> <p>I am using the approach proposed here: <a href="http://blog.gribblelab.org/2009/03/09/repeated-measures-anova-using-r/" rel="nofollow">http://blog.grib...
g43735
[ 0.0008109947666525841, -0.04630711302161217, -0.022392230108380318, -0.08200304210186005, 0.053842008113861084, -0.001098743756301701, 0.01587347313761711, -0.041509345173835754, -0.045091114938259125, 0.039780937135219574, -0.03175956383347511, 0.0024417294189333916, 0.006310171447694302, ...
<p>Well, I'm an engineer by day. Although most of my work revolves around modeling, we generally do pretty basic stuff. An "Advanced" model would be a monte carlo simulation validated using R2 tests. </p> <p>Currently, in my field, there is a lot of research using Logistic and bayesian analysis. </p> <p>My question i...
g59656
[ 0.0006917233695276082, 0.011000164784491062, -0.0017453520558774471, 0.016707513481378555, 0.009278520941734314, 0.010538374073803425, -0.020174384117126465, -0.004095042124390602, -0.0003946974466089159, -0.0213294830173254, 0.05038032308220863, -0.05062829330563545, 0.0926254466176033, -...
<p>I am in doubt about which type of test I could performed on my data. </p> <p>I have a data frame of the following type:</p> <p>contig, pos, A1, A2, Ctrl_A1, Ctrl_A2, Treat_A1, Treat_A2</p> <p>comp1293557_c0_seq1, 284, T, C, 38, 20, 43, 17,</p> <p>comp1478014_c0_seq1, 252, A, G...
g59657
[ 0.024487221613526344, -0.04707906022667885, 0.013191885314881802, -0.05069377273321152, 0.04724220931529999, -0.07185305655002594, 0.04004347696900368, 0.07954913377761841, -0.0011849997099488974, 0.02102159522473812, 0.03822261840105057, 0.006170217413455248, 0.019425811246037483, 0.02146...
<p>Let $Z_1,Z_2 $ i.i.d. standard normal </p> <p>$$ X(t) = \begin{cases} 0, &amp; \text{if } t&lt;Z_1, t&lt;Z_2\\ 1, &amp; \text{if } Z_1\le t &lt;Z_2 \text{ or } Z_2\le t &lt;Z_1 \\ 2, &amp; \text{if } t\ge Z_1, t\ge Z_2 \end{cases} $$</p> <h2>Asked</h2> <p>$E[X(t)X(t')]$</p> <h2>Approach</h2> <p>$E[X(t)X(t')] =...
g15322
[ -0.023329339921474457, -0.02361501194536686, -0.006385082378983498, 0.044184278696775436, 0.01000925898551941, -0.017261125147342682, 0.05228745937347412, 0.03831060230731964, -0.03601597994565964, 0.05176752060651779, 0.015071948990225792, 0.045334190130233765, 0.0282270610332489, 0.00561...
<p>Suppose, there is some classification/regression problem. It seems for me, that sometimes division of training sample by some feature (or maybe by some other reasonable method, say feature generation and then devision by it.) and then fitting two models is better then fitting one model. For example, you anylize life...
g21732
[ 0.023870235309004784, 0.01206623949110508, -0.021373815834522247, -0.019242288544774055, 0.003660540096461773, 0.008441326208412647, 0.05086612328886986, 0.08567408472299576, -0.03752661868929863, -0.03261423483490944, 0.03762635216116905, 0.003861275501549244, 0.07002311944961548, 0.00896...
<p>I should do Variance Ratio Test on two vectors in R.</p> <p>I found the a builtin function: <strong>var.test</strong> but I don't know how to interpret its results (p-value).</p> <p>What result do I have to wait if these two vectors have constant variance? I think I also could use it to understand if the ratio is ...
g15323
[ 0.014283937402069569, -0.030428584665060043, -0.020463084802031517, 0.0024388390593230724, 0.0319356843829155, -0.0193288866430521, 0.0220663920044899, 0.04916100203990936, -0.011898067779839039, -0.060757849365472794, -0.03370431810617447, 0.07479754090309143, -0.03266571834683418, -0.005...
<p>I have 5 emerging market foreign exchange total return series, for which I am forecasting single period future returns (1 year). I would like to construct a Markowitz mean variance optimized portfolio of the 5 series, using historical variances and covariances (1) and my own forecast expected returns. Does R have an...
g15324
[ -0.028363730758428574, -0.029734445735812187, 0.003580708522349596, -0.0147092305123806, -0.027632543817162514, -0.017912035807967186, 0.021568534895777702, 0.036528173834085464, -0.03565962612628937, -0.04642602056264877, 0.0004095142357982695, -0.0007340064621530473, 0.022743063047528267, ...
<p>I have some code that looks for clusters in x,y data. To check the number of clusters I use, I want to get the BIC. This is not possible (easily) using <code>kmeans()</code>, and so I've switched to the <a href="http://cran.r-project.org/web/packages/mclust/index.html" rel="nofollow">mclust package</a>. Specifically...
g59658
[ 0.021017666906118393, -0.03347127139568329, -0.010765629820525646, -0.054802145808935165, 0.028496133163571358, -0.06658188998699188, 0.01062233280390501, -0.016277596354484558, 0.017403095960617065, 0.0019909185357391834, 0.01238249707967043, 0.04953290522098541, 0.07805550843477249, 0.03...
<p>I've been using R to run GLMs with the logit link to compare clutch sizes (a binomial data set) and proportional data among several years. I now need to compare 2 groups of years (good years and poor years) between 2 sites for the same data.</p> <p>I am not interested in any interactions between year-type (good or ...
g43821
[ 0.0098091010004282, -0.0324348546564579, -0.011201477609574795, 0.0014669224619865417, -0.05606653541326523, -0.01420204434543848, -0.002346377121284604, -0.030161600559949875, -0.0922933891415596, -0.018960101529955864, -0.003675171872600913, 0.004076470620930195, 0.06331790238618851, -0....
<p>I am building a big data frame by merging the content of a few files together. These files share the same columns layout.</p> <pre><code>c = read.delim('bigfile1.txt') c1 = read.delim('bigfile2.txt') c2 = read.delim('bigfile3.txt') ctmp1 = merge(c, c1, all=TRUE) ctmp2 = merge(ctmp1, c2, all=TRUE) </code></pre> <p...
g59659
[ 0.053814761340618134, -0.02477608062326908, 0.04195764288306236, -0.0529903881251812, -0.013250592164695263, -0.03096608817577362, 0.011792847886681557, 0.025215476751327515, -0.10013070702552795, 0.007645783480256796, 0.047100551426410675, -0.012808920815587044, 0.008980680257081985, -0.0...
<p>Lets say I have a dataset where I want to estimate the relative risk of outcome X based on a binary treatment level Y, using PROC GENMOD to fit a logistic regression model. I can use the BAYES statement to have SAS 9.2 produce nice, MCMC-based prior distributions for my data.</p> <p>My question is, what if I then w...
g15326
[ 0.016009129583835602, -0.06651479005813599, 0.00157195667270571, -0.05422988161444664, -0.06357239931821823, 0.0009779279353097081, -0.028188200667500496, -0.005348644219338894, -0.03068607859313488, -0.04755242168903351, 0.04608893394470215, 0.07156947255134583, 0.04832378402352333, 0.003...
<p>I have 2 dependent variables (DVs) each of whose score may be influenced by the set of 7 independent variables (IVs). DVs are continuous, while the set of IVs consists of a mix of continuous and binary coded variables. (In code below continuous variables are written in upper case letters and binary variables in lowe...
g44675
[ -0.028599631041288376, -0.08708815276622772, -0.0026604430750012398, -0.029291775077581406, -0.00028010946698486805, -0.008563518524169922, 0.039982814341783524, 0.01270945556461811, -0.029104935005307198, -0.009318013675510883, -0.03965764865279198, 0.036231208592653275, 0.02074521966278553...
<p>I have two samples $ X_1,\cdots,X_n $ and $ Y_1, \cdots, Y_n $, and would like to re-order them so that they have a pre-specified value of rank correlation such as Kendall's tau.</p> <p>I do know that there are many ways to generate two samples that have a specific Pearson's correlation coefficient, but don't know ...
g613
[ -0.011822936125099659, -0.019822804257273674, -0.007160598877817392, -0.07593949884176254, 0.042507633566856384, -0.047826673835515976, -0.045730579644441605, -0.032293688505887985, -0.020035741850733757, -0.02890576235949993, 0.006119066849350929, 0.03890417143702507, 0.02187245711684227, ...
<p>I'm having trouble understanding why calculating the standard error of the mean: $$ \widehat{SE} = \frac{\widehat{SD}}{\sqrt{n}} $$ gives me a different SE estimate than the SE estimate of a coefficient from a Gaussian GLM (identity link function) in R. Can someone explain why the maximum-likelihood estimators of t...
g14690
[ -0.008937680162489414, -0.07621198147535324, -0.003393106861039996, -0.02902383916079998, -0.006525290664285421, 0.004233746789395809, 0.03622625768184662, 0.04476384073495865, -0.056377846747636795, 0.012730156071484089, -0.01993829384446144, -0.005396127700805664, 0.04905744642019272, 0....
<p>I have got two questions on an agricultural field trial that was conducted at two sites in two conscutive years. Virtually everything was the same in all trials (crop variety, planting density...). The data permits that all data can be analysed in a joined model. </p> <p>As there are two questions I open two thre...
g59660
[ -0.035552818328142166, -0.03136476129293442, 0.006582749076187611, -0.027318855747580528, 0.020959369838237762, -0.013152915053069592, 0.049986034631729126, 0.02124684490263462, -0.03756611421704292, -0.013317883014678955, -0.012884702533483505, -0.019646378234028816, 0.034285563975572586, ...
<p>I am building a model and I think that geographic location is likely to be very good at predicting my target variable. I have the zip code of each of my users. I am not entirely sure about the best way to include zip code as a predictor feature in my model though. Although zip code is a number, it doesn't mean any...
g59661
[ -0.011969955638051033, -0.022194456309080124, 0.024795502424240112, -0.02051531709730625, 0.010281970724463463, -0.033338289707899094, 0.0012949153315275908, 0.06911130249500275, -0.025760727003216743, -0.013637891039252281, 0.0369998961687088, 0.010211821645498276, 0.06989682465791702, -0...
<p>I have got two questions on an agricultural field trial that was conducted at two sites in two conscutive years. Virtually everything was the same in all trials (variety, spacing, planting density...). The data permits that all data can be analyised in a joined model. </p> <p>There is another question about the t...
g59662
[ 0.011355009861290455, -0.013017632998526096, 0.0028869889210909605, -0.02797476202249527, 0.003746243892237544, -0.023764176294207573, 0.0697333812713623, 0.056007269769907, -0.013310128822922707, -0.016043292358517647, -0.008853557519614697, 0.008982245810329914, 0.03645003214478493, -0.0...
<p>I'm trying to work out how you do this from first principles. The <a href="http://en.wikipedia.org/wiki/Linear_regression" rel="nofollow">Wikipedia page on linear regression</a> gives me enough to solve it with matrix operations through the origin but I can't find much literature on implementing an algorithm for an ...
g44682
[ 0.044954847544431686, -0.02963702380657196, -0.02522573061287403, -0.031510140746831894, -0.020908813923597336, -0.08069658279418945, 0.006768397055566311, 0.03486356884241104, -0.05577293410897255, -0.009797940962016582, -0.01174070592969656, -0.005654544103890657, 0.0655691996216774, -0....
<p>Suppose you have two groups $A$ and $B$ and you want to find the odds ratio of some outcome. How do you denote this odds ratio? Is it just $OR(\text{A} \ \text{and} \ B)$? </p>
g705
[ 0.020302290096879005, -0.04136127233505249, -0.014066931791603565, -0.03292972967028618, 0.011093977838754654, -0.06684339046478271, -0.010269591584801674, 0.03361253812909126, -0.012249575927853584, -0.03834937512874603, 0.0243010763078928, 0.007163076661527157, 0.003683499526232481, 0.00...
<p>I'm comparing two groups A, B after cross tabulating them with cases and controls.</p> <p>I get a table as such:</p> <pre><code> Control Cases A 8 0 B 14 0 </code></pre> <p>Obviously, I can't do an odds ratio because of the 0's. Doing a Fisher's exact test gives me a p-value of 0.5152 but th...
g59663
[ -0.01696019060909748, -0.05737379565834999, 0.0014916197396814823, -0.018320966511964798, 0.034039661288261414, -0.02230210043489933, 0.02514449879527092, 0.039695728570222855, -0.04901168495416641, -0.02995648793876171, 0.03761637955904007, 0.02333112433552742, 0.009544255211949348, 0.014...
<p>From a large sample of triples $(X, Y, U)$ I need to estimate a function $(x, y, u) \mapsto f(x, y, u)$, such that for each fixed $x, y$, the function $u \mapsto f(x, y, u)$ is a density function; namely, the marginal density function of $U$, given $X = x$ and $Y=y$.</p> <p>Is there a standard way of doing this? My...
g59664
[ -0.01425077486783266, -0.016518762335181236, -0.01646575517952442, -0.05415159836411476, -0.035053376108407974, -0.03972983732819557, 0.016494441777467728, -0.008003132417798042, -0.05125940218567848, 0.020471353083848953, 0.015836169943213463, 0.024118557572364807, 0.08407837152481079, -0...
<p><strong>Should the distribution of composite scores be normal (bell curve)?</strong></p> <p>The composite scores that I have developed is from a weighting of their separate components. </p> <p>The component scores are in response to a normal survey (i.e. proper sampling proceedures were used). I have then weighted...
g59665
[ 0.037328124046325684, -0.0016849569510668516, 0.01052013784646988, -0.02082645148038864, 0.02576301619410515, 0.027778126299381256, 0.012366436421871185, 0.03239179030060768, 0.00539427250623703, -0.041584331542253494, 0.016651630401611328, -0.0170686487108469, 0.014075848273932934, -0.003...
<p>I am doing a probit on a binary dependent variable. The binary dependent variable has observed outcomes of 227 successes and 1704 failures. If I run predict after the probit I get probabilities that make sense for each set of observations, but I want to be able to make sense of the beta coefficients that I get fro...
g15337
[ -0.05136457830667496, -0.028138091787695885, 0.01713300310075283, -0.06024724990129471, 0.040364138782024384, -0.031373344361782074, 0.011278192512691021, -0.0579582154750824, -0.08204302936792374, -0.10481203347444534, -0.037943508476018906, 0.03612184152007103, 0.04588383436203003, -0.02...
<p>I have a collection of highly non-normal behavioral variables measured for each animal in a given test. I would like to reduce to 2 or 3 scores to characterize the individual's test using PCA. I see in the literature where others have referenced Multivariate Statistics books to justify using non-normal data for th...
g59666
[ -0.0034535445738583803, 0.019932186231017113, 0.007978574372828007, -0.040986452251672745, -0.02203959785401821, -0.045516595244407654, 0.04844837263226509, -0.0077120400965213776, -0.01273674052208662, 0.01080346666276455, 0.01325803343206644, 0.016042383387684822, -0.018654603511095047, ...
<p>I have a classification process which I test using leave-one-out.</p> <p>Precisely, how do I compute the standard deviation of the result?</p> <p>If I compute it normally, I get a very large deviation which makes sense because each test is either 100% or 0%.</p> <p>What is the accepted convention in this case?</p...
g59667
[ 0.014443544670939445, 0.025869185104966164, -0.016877882182598114, -0.03865590691566467, -0.0073347315192222595, -0.022839903831481934, 0.061477042734622955, 0.1028837114572525, -0.012462696060538292, -0.019203772768378258, -0.014416605234146118, -0.0033015860244631767, 0.052014950662851334,...
<p>I'm trying to gain a better understanding of kmeans clustering and am still unclear about colinearity and scaling of data. To explore colinearity, I made a plot of all five variables that I am considering shown in the figure below, along with a correlation calculation. <img src="http://i.stack.imgur.com/W5MZJ.jpg" a...
g44686
[ 0.06647901237010956, 0.0003225497785024345, -0.015874164178967476, -0.07532000541687012, -0.0018499960424378514, -0.0179463941603899, 0.016382237896323204, 0.005831947084516287, 0.0019425657810643315, -0.0018570242682471871, -0.02916037105023861, 0.01280561089515686, 0.07907485216856003, 0...
<p>I am trying to find a statistical or machine learning tool that replicates this analysis I am doing manually in excel.</p> <p>Each row in my data set is a user.</p> <pre><code>User | sites visits | pages viewed | items added to cart | Purchased (1 or 0) </code></pre> <p>I set up a pivot table so Purchased is in t...
g59668
[ -0.0029636602848768234, -0.01765667460858822, 0.009749137796461582, -0.02625289559364319, 0.004347552079707384, -0.05559514835476875, 0.06210882589221001, -0.03810742869973183, -0.0157832782715559, -0.008748814463615417, 0.03157658874988556, 0.01119545754045248, 0.06227996200323105, 0.0077...
<p>In canonical correlation analysis where</p> <p>max { a'COV(X,Y)b / sqrt[a'COV(X,X)a * b'COV(Y,Y)b] }</p> <p>where U = a'X, and V = b'Y</p> <p>the standard tools to solve the canonical correlation analysis (MATLAB, R, etc.) yield solutions (as many as min rank of both variables) where</p> <p>CORR(U1,U2) = CORR(V1...
g59669
[ 0.021235836669802666, -0.019016919657588005, 0.025276996195316315, -0.0459020771086216, 0.0066618421114981174, -0.0018010612111538649, 0.01690995879471302, -0.006659762002527714, -0.02617369033396244, 0.02211463451385498, 0.01869271695613861, -0.010606280528008938, -0.018395038321614265, 0...
<p>So, I have data set and I calculate the model parameters and errors using statsmodels:</p> <pre><code>result = sm.OLS(y, X).fit() result.summary() </code></pre> <p>Now, <code>result.mse_resid</code>, <code>result.mse_total</code> provide MSE of the residuals and total mean squared error.</p> <p>Reading the statis...
g59670
[ 0.018163016065955162, -0.05532875657081604, -0.03988032415509224, -0.02597077190876007, -0.007903430610895157, -0.002630458679050207, 0.06117383390665054, 0.06343832612037659, -0.04727742820978165, -0.03742417320609093, -0.023231783881783485, 0.011398687027394772, 0.09623543173074722, -0.0...
<p>I am confuse with difference between empirical Bayes method and hierarchical Bayes method. </p> <p>Take an example (ref : <a href="http://www.cs.cmu.edu/~xuerui/papers/ctr.pdf" rel="nofollow">http://www.cs.cmu.edu/~xuerui/papers/ctr.pdf</a>). </p> <p>Suppose we have : </p> <ul> <li>$C$ is the number of clicks we ...
g59671
[ 0.04215662553906441, 0.00845826230943203, -0.019659895449876785, -0.011167222633957863, 0.0419098436832428, 0.02089308388531208, 0.05609213933348656, 0.01119739655405283, -0.06835851818323135, -0.020093604922294617, -0.01020036917179823, 0.06886372715234756, 0.015557918697595596, 0.0228533...
<p>Hey guys I found one or two papers which use ridge regression (for basketball data). I was always told to standardize my variables if I ran a ridge regression, but I was simply told to do this because ridge was scale variant (ridge regression wasn't really part of our course, so our lecturer skimmed through it).</p>...
g15341
[ 0.05899307131767273, -0.03948693722486496, -0.006069839932024479, -0.08857577294111252, 0.0762486681342125, -0.0004743929603137076, -0.04801890254020691, 0.052994254976511, -0.026902787387371063, -0.005612504202872515, -0.025006402283906937, -0.004894495941698551, -0.021460767835378647, 0....
<p>I tried to use the Kernel Density plot method from <a href="http://www.jstatsoft.org/v27/i05/paper/" rel="nofollow">Hayfield and Racine (2008)</a> <a href="http://cran.r-project.org/web/packages/np/vignettes/np.pdf" rel="nofollow"><code>np</code> package</a> for my own data, but somehow ended up with different type ...
g44691
[ 0.03772395849227905, -0.0015514800325036049, 0.002218486974015832, -0.033305272459983826, -0.021770160645246506, 0.047793492674827576, 0.03415747359395027, -0.06847729533910751, -0.05926501750946045, -0.05703310668468475, 0.03562670573592186, 0.006836642511188984, 0.027769342064857483, -0....
<p>I have a database with many attributes. I would like to know which attributes has the minimum variation in the data. Is there some standard technique? It should be like clustering without split records in clusters. I would like to know what the records in particular cluster have in common. </p> <p>I was going to co...
g59672
[ -0.008937283419072628, -0.02063046582043171, 0.001340928371064365, -0.02012959122657776, -0.011073864065110683, -0.04503666236996651, 0.03224535286426544, 0.02860167622566223, -0.04220327362418175, -0.023365071043372154, -0.014540174044668674, 0.009363916702568531, 0.04417817294597626, -0....
<p>I guess I understand the equation of the detailed balance condition, which states that for transition probability $q$ and stationary distribution $\pi$, a Markov Chain satisfies detailed balance if $$q(x|y)\pi(y)=q(y|x)\pi(x),$$</p> <p>this makes more sense to me if I restate it as: </p> <p>$$\frac{q(x|y)}{q(y|x)}...
g59673
[ 0.03721702843904495, -0.013863661326467991, -0.015773441642522812, 0.023822598159313202, 0.03982109948992729, -0.033970288932323456, 0.04704289510846138, 0.015073999762535095, 0.0417020320892334, -0.01155457179993391, -0.04223425313830376, -0.0018960878951475024, 0.011613658629357815, 0.00...
<p>I have a problem interpreting the notion of "weak exogeneity in a VAR process". Assuming we have the following structural form:</p> <p>$y_t = b_{12}z_t + \gamma_{11}y_{t-1} + \gamma_{12}z_{t-1} + \epsilon_{yt}$</p> <p>$z_t = b_{21}y_t + \gamma_{21}y_{t-1} + \gamma_{22}z_{t-1} + \epsilon_{zt}$</p> <p>Does weak exo...
g59674
[ 0.027855029329657555, 0.03480463847517967, -0.018046218901872635, -0.02898048609495163, 0.09917184710502625, -0.03182124346494675, 0.034057408571243286, 0.0071863820776343346, 0.026351911947131157, -0.0011634501861408353, -0.0405140146613121, 0.05704686418175697, -0.03216499462723732, 0.01...