question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I have been struggling with this question all day, reading everything I could find, but still do not have a clear answer.</p> <p>A part of my research was that: 30 students tried a new educational instrument (virtual patient). Before the interaction with the patient they filled in 18 Likert items, from 1 to 5 (1=hi...
g62427
[ 0.01268133893609047, -0.02327844686806202, -0.016483571380376816, -0.05434654280543327, 0.009704985655844212, 0.032775186002254486, 0.06971407681703568, -0.007135401479899883, 0.009972251951694489, -0.00399135984480381, 0.007960923947393894, 0.04581939056515694, -0.005252125672996044, -0.0...
<p>I have a dataset (vector) to which I would like to fit a gamma distribution (x), which given the shape seems reasonable. The charts below show the histograms of the two dataset: vector and x. </p> <p><img src="http://i.stack.imgur.com/MZsil.jpg" alt="enter image description here"></p> <p>The left is my sample set,...
g41700
[ 0.0010365864727646112, -0.03069722093641758, -0.01634182222187519, -0.0783483013510704, 0.005225192289799452, 0.005446384195238352, 0.004942223429679871, 0.022374868392944336, -0.05826079472899437, -0.049665823578834534, 0.022921839728951454, 0.03074968047440052, 0.08240079134702682, 0.010...
<p>I have some variables and I want to reduce their number for further analysis. I initially thought of combining them using factor analysis. But since the variables are of all kinds (rating, count, ordinal, continuous dollar amount) I am thinking about using CATPCA for it. However, I have some questions about the tech...
g62428
[ 0.020967455580830574, -0.03253672271966934, 0.01325135212391615, -0.06225745752453804, 0.026330875232815742, -0.03102089837193489, 0.009619231335818768, 0.009301633574068546, -0.05030230060219765, -0.013425542041659355, 0.020494867116212845, 0.00020101258996874094, 0.017608582973480225, 0....
<p>I don't find a textbook presenting prediction intervals for mixed models. Moreover I'm only looking for a prediction interval for the balanced one-way random effect ANOVA model. Do you know a formula for this interval ?</p>
g62429
[ -0.021474342793226242, -0.01946774683892727, 0.001795950229279697, -0.006751930806785822, -0.0219553392380476, 0.04660433158278465, 0.04084154590964317, 0.02226554974913597, 0.04579932242631912, -0.030938956886529922, 0.0038778823800385, 0.010007771663367748, -0.0007413473795168102, 0.0215...
<p>Do you know any datasets other then Google's Google Book n-gram dataset? Especially some datasets about scientific papers would be great.</p>
g19518
[ -0.009839038364589214, 0.05429895222187042, -0.0023568421602249146, -0.045022621750831604, -0.020410096272826195, -0.010233750566840172, -0.03884555399417877, 0.03127139061689377, -0.02351151965558529, 0.009426615200936794, -0.004587250296026468, -0.030877795070409775, -0.019852589815855026,...
<p>I used the MATLAB code written below to create the following probability density function. It creates the familiar hill-shaped distribution.</p> <p><img src="http://i.stack.imgur.com/AqcD4.png" alt="bivariate normal distribution"></p> <p>I'm interested to see (whether via MATLAB code or just an linked image) a PDF...
g19519
[ -0.03245623782277107, 0.006209036335349083, 0.0021877759136259556, -0.07132212817668915, -0.024944793432950974, -0.02499447576701641, 0.00949875172227621, -0.007486620917916298, -0.04571346566081047, -0.00920679047703743, 0.08030757308006287, 0.01792958378791809, 0.09470268338918686, -0.02...
<p>It is well known that it is problematic to choose a statistical test based on the outcome of another statistical test, as the p-values are difficult to impossible to interpret (e.g. <a href="http://stats.stackexchange.com/questions/61715/choosing-a-statistical-test-based-on-the-outcome-of-another-e-g-normality/">Cho...
g62430
[ 0.052483268082141876, -0.0005124997696839273, 0.0289180688560009, 0.012390637770295143, -0.015236024744808674, -0.05562327802181244, 0.020711729303002357, 0.011062657460570335, 0.0009337890660390258, -0.013448357582092285, 0.055931419134140015, -0.04748441278934479, 0.044748060405254364, -...
<p>$\Sigma(X-\bar{X})$</p> <p>Could someone please clarify: does the sum of deviations (not squared) of a variable from its mean have to equal anything special, like 0, or is it just any number? </p> <p>Also, do I understand correctly that in a regression, the sum of squared deviations of y from the mean is minimized...
g19522
[ 0.015717405825853348, 0.0077963718213140965, -0.014627509750425816, -0.013040749356150627, 0.03570517152547836, -0.05494846776127815, 0.02262904867529869, 0.06165948137640953, -0.0021136864088475704, -0.042787764221429825, -0.06438009440898895, 0.04686702415347099, 0.023256344720721245, -0...
<p>How do I test for Lack Of Fit (F-test) using R? I've seen a similar question, but that was for SPSS and it was just said that is can be easily done in R, but not how. </p> <p>I know in simple linear regression I would use <code>anova(fm1,fm2)</code>, <code>fm1</code> being my model, <code>fm2</code> being the same ...
g19523
[ 0.028728388249874115, -0.04151530563831329, -0.001319564413279295, 0.024619972333312035, -0.010660285130143166, 0.0017223788890987635, 0.005091329570859671, 0.02836710773408413, -0.02352103590965271, -0.04659171774983406, -0.03997645899653435, -0.03214767947793007, 0.01694713532924652, 0.0...
<p>I have another question about distributions as I am going through an exercise. I apologize for posting on the other site by mistake.</p> <p>Millions of birds are released, 100 of them have tags and 7 of the tagged birds are found to have returned to the release site. How do you sketch the sampling distribution of P...
g62431
[ -0.0010416104923933744, 0.02788512222468853, -0.009172874502837658, -0.058479130268096924, 0.03885051608085632, 0.019364243373274803, 0.007059096824377775, 0.039778027683496475, 0.012892303988337517, 0.002453623339533806, -0.08739705383777618, 0.01575145497918129, 0.03860166296362877, 0.02...
<p>Assume I have two feature selection algorithms, A and B, which are developed based on SVM. I applied these two algorithms on the same dataset, a Liver Cancer dataset (400 features &amp; 150 samples), and they selected two small subsets A(30 features) and B(50 features). The classifier used is the same and is a binar...
g62432
[ 0.05296846479177475, -0.09297988563776016, 0.010616240091621876, -0.04843353480100632, 0.016371404752135277, -0.023746386170387268, 0.021790625527501106, -0.0045817517675459385, -0.02174462378025055, 0.02976366877555847, 0.02346992865204811, 0.0956018716096878, 0.05006648600101471, 0.04581...
<p>As a part of my <em>exploratory data analysis (EDA)</em> prior to further analysis, I'm trying to determine a <em>probability distribution</em> of my pilot dataset's variables. A particular feature of this dataset is a significant share of <strong>missing values</strong>. I partially alleviated this problem by perfo...
g62433
[ 0.058752141892910004, -0.05636804923415184, -0.006738720461726189, -0.0029785570222884417, -0.023962972685694695, 0.028049785643815994, 0.04921784624457359, 0.0420125313103199, 0.013509104959666729, 0.006472956854850054, 0.002374030649662018, -0.07369089126586914, 0.04628811776638031, 0.06...
<p>Suppose I approximate a variable (events of certain type) by a Poisson distribution and I would like to write a program and measure the mean experimentally. The idea is that I have an algorithm which outputs an event which is either of our interest or not. </p> <p>I m measuring the mean as follows. Start a counter ...
g62434
[ 0.028267178684473038, 0.005065346136689186, -0.007018423639237881, -0.1109585389494896, 0.016232037916779518, -0.03964221477508545, 0.007089688442647457, 0.01629176363348961, -0.08572480082511902, -0.01711125858128071, -0.03489178419113159, 0.01968950778245926, -0.011258040554821491, 0.035...
<p>This code outputs the eta-squared from an ANOVA:</p> <pre><code>y &lt;- c(rnorm(30, 3), rnorm(30, 4), rnorm(30, 5)) x &lt;- sort(rep(paste("treatment", 1:3), 30)) xy &lt;- data.frame(x,y) xyaov &lt;- aov(y ~ x, xy) library(heplots) etasq(xyaov) Partial eta^2 x 0.4807356 Residuals ...
g62435
[ 0.011855294927954674, -0.06545954197645187, -0.012232817709445953, -0.06202215328812599, -0.008030187338590622, -0.03971313685178757, 0.06269493699073792, 0.034266043454408646, -0.04584433138370514, 0.014715569093823433, -0.03142578527331352, 0.017855219542980194, 0.10151215642690659, 0.01...
<p>I'm trying to prove $$ \mathrm{Var}\left(\sum\limits_{i=1}^n{g(X_i)}\right) = n(Var(g(X_1))) $$ where $X_1...X_n$ are IID variables.</p> <p>I have been trying to use proof for a similar question - <a href="http://stats.stackexchange.com/a/31181">http://stats.stackexchange.com/a/31181</a> - but then I'm stuck when t...
g62436
[ -0.025421783328056335, 0.03348184749484062, -0.019575832411646843, -0.03164190053939819, -0.009997335262596607, -0.0040653725154697895, 0.03333567455410957, -0.07305075228214264, -0.02745985798537731, 0.029097918421030045, -0.03906388208270073, 0.0733494982123375, -0.06785809993743896, 0.0...
<p>Find the least squares estimator of the parameter B (beta) in the following regression model: y= B + u<br> What is the variance of the estimator?</p>
g49645
[ 0.04226117581129074, -0.024739397689700127, -0.0053161876276135445, 0.003916991874575615, 0.07024545222520828, -0.003631513100117445, 0.04095259681344032, 0.005083723459392786, 0.03748794272542, -0.04400203004479408, -0.052050210535526276, 0.06744252890348434, -0.05346908047795296, 0.02421...
<h2>Background</h2> <p>I have a survival object in R called <code>km</code>.</p> <pre><code>&gt; km Call: survfit(formula = Surv(Surv_day, Survive) ~ 1, data = study_data) records n.max n.start events median 0.95LCL 0.95UCL 440 440 440 88 3964 3595 NA &gt; summary(km) Call: survfit...
g62437
[ 0.026841849088668823, -0.06148188188672066, -0.0131614925339818, 0.00886231567710638, -0.032349079847335815, 0.006070369854569435, 0.04165477678179741, 0.010082090273499489, -0.08060509711503983, -0.026288151741027832, 0.023266706615686417, 0.022204071283340454, 0.059447627514600754, 0.006...
<p>Is there any way to perform bivariate regression using pairwise deletion of missing values in R? na.action options in lm() do not offer such a possibility – the default na.action is na.omit, which is equivalent to listwise deletion. I already tried estimating the covariance matrix using pairwise deletion and then us...
g62438
[ 0.023005854338407516, -0.07003534585237503, -0.007825500331819057, 0.0022956817410886288, 0.040596190840005875, -0.02560940384864807, 0.014207599684596062, -0.010222713463008404, -0.016811398789286613, 0.008851292543113232, 0.02498486265540123, 0.010847733356058598, 0.007747730705887079, 0...
<p>With my data (Y and X variables) I have $R^2$ = 0.3736.</p> <p>I used the data from an article that did the same type of experiment, and made a graph and found their $R^2$ = 0.3706.</p> <p>I know that the values are very low, but that is all I think I can do with the data. Because both graphs have very similar $R^...
g62439
[ 0.037743642926216125, -0.031602416187524796, -0.015537355095148087, -0.004096883349120617, 0.003318182425573468, -0.0039623938500881195, -0.02399127557873726, -0.07959587126970291, -0.05157465487718582, -0.05907206982374191, -0.03592727705836296, 0.07132885605096817, -0.031008683145046234, ...
<p>Suppose we have a bunch of a sampled pairs $(x_1,y_1)...(x_n,y_n)$ with the $y_i =\pm1$. </p> <p>Then consider the decision function $h(x) = -1$ if $p(x)=\frac{1}{1+e^{-x}}\leq0.5$, and $h(x) = 1$ if $p(x) &gt; 0.5$. Where $p$ is interpreted, as per logistic regression, as the probability that $x\rightarrow +1$. ...
g62440
[ -0.02076031267642975, -0.00426917290315032, -0.01230697613209486, -0.014084331691265106, 0.020389221608638763, -0.04052190110087395, 0.03928905352950096, 0.04150981083512306, -0.08852282166481018, 0.028501246124505997, 0.01869279146194458, 0.051131557673215866, 0.05516020953655243, -0.0063...
<p>There was already <a href="http://stats.stackexchange.com/questions/485/mathematical-statistics-videos">a request for Mathematical Statistics Videos</a>, but it explicitly asked from people for</p> <blockquote> <p>videos that provide a rigorous mathematical presentation of statistics. i.e., videos that might...
g62441
[ 0.07703180611133575, 0.057852789759635925, 0.002135242335498333, 0.04265712574124336, -0.014175851829349995, -0.0026750077959150076, -0.028024189174175262, -0.010702486149966717, 0.000016937521650106646, -0.04322412982583046, 0.05575477331876755, -0.005316854454576969, 0.08830537647008896, ...
<p>Users are often tempted to break axis values to present data of different orders of magnitude on the same graph (see <a href="http://peltiertech.com/Excel/Charts/BrokenYAxis.html">here</a>). While this may be convenient it's not always the preferred way of displaying the data (can be misleading at best). What are al...
g62442
[ 0.032023705542087555, 0.054371096193790436, -0.01493986789137125, -0.07189995795488358, -0.060516633093357086, -0.07761552929878235, -0.01229296624660492, -0.07579007744789124, -0.013820869848132133, -0.004000524524599314, 0.020775247365236282, 0.045957040041685104, 0.0759168416261673, -0....
<p>I have a question regarding some time series concepts:</p> <p>Suppose I have some "time series" data with cross correlation. Suppose I am able to fit a copula, say to capture dependencies between data of $\{t,t-1,...,t-n\}$ - i.e. for some time-lag. Now, if I want to draw some random numbers of this time series, I ...
g62443
[ 0.034488022327423096, 0.024858776479959488, 0.00852162018418312, -0.08447922021150589, -0.03470717743039131, -0.006989585235714912, 0.0539969876408577, -0.06733386963605881, -0.07033975422382355, 0.013054420240223408, 0.022468015551567078, -0.012613173574209213, 0.05579962581396103, -0.010...
<p>Various software for performing inference on graphical models support logical(a.k.a deterministic) nodes. PyMc, Winbugs, Smile are the ones I'm aware of. </p> <p>Based on the different inference methods used by these software (PyMc and Winbugs use MCMC, Smile uses message passing etc), this extension to graphical m...
g62444
[ 0.054531119763851166, -0.024089470505714417, 0.020921576768159866, -0.07612939178943634, -0.0008348000119440258, -0.060872163623571396, -0.01606171391904354, 0.04823270067572594, -0.07408177107572556, -0.019389601424336433, -0.016948256641626358, -0.02056417614221573, 0.05014798417687416, ...
<p>Given a data frame in R is there a way to export it in <em>R syntax</em> such that executing this code would re-create the data frame? I would find this useful to store results in R files along with calculations without depending on external files.</p>
g62445
[ 0.05450088158249855, -0.029144272208213806, 0.010514780879020691, -0.04100243002176285, 0.012920661829411983, -0.05055295303463936, -0.014429316855967045, 0.0008465189021080732, -0.06855439394712448, -0.03859880194067955, -0.007016411051154137, 0.02874690480530262, 0.04314633458852768, 0.0...
<p>I am using ANOVA with repeated measures to test significance between males and females results of an experiment during which participants had to evaluate 7 stimuli in 2 conditions (EXP1 and EXP2).</p> <p>The problem is that even if from results it is clear that there are significant differences between males and fe...
g49851
[ -0.0336858332157135, -0.023227231577038765, -0.0017040312523022294, -0.051051340997219086, 0.02884335070848465, 0.03675641864538193, 0.04437799006700516, -0.020326178520917892, -0.03581341356039047, 0.026338664814829826, -0.06211794540286064, 0.06100757047533989, -0.005695891100913286, 0.0...
<p>I have some data acquired by an acoustic sensor with 1 Hz sampling rate. Due to some inevitable issues, I have some noise in my signal, saying 10% pollution. I'm looking for a reliable method for replacing the outliers.</p> <p>In order to find a suitable approach I manipulated a clean record such that it contains 9...
g19541
[ 0.06695163249969482, -0.08781547099351883, 0.005618872586637735, -0.061207860708236694, 0.027364280074834824, -0.028375405818223953, 0.047654058784246445, 0.0026843291707336903, -0.03506584092974663, 0.0367421992123127, 0.00325310742482543, 0.02770611084997654, 0.06745164096355438, 0.02649...
<p>Does anybody know how to plot all AIC values for different size models, when using the command <code>regsubsets</code> from the package <code>leaps</code>?</p> <p>Assume you have the following variables:</p> <pre><code>treatment &lt;- factor(rep(c(1, 2), c(43, 41)), levels = c(1, 2),labels = c("placebo", "treated"...
g19542
[ -0.008685515262186527, 0.029438214376568794, -0.020806556567549706, -0.07120314240455627, 0.013712984509766102, -0.04946114495396614, 0.05002816393971443, 0.01165772881358862, -0.02225799486041069, -0.04757378622889519, 0.007531730458140373, 0.07003133744001389, 0.05958617851138115, -0.001...
<p>I have 2 alternative methods to solve a problem, and I was just wondering what people who know the math better than I think, and if there is a better method to use for this type of problem.</p> <p>The problem: I have a list of lat/lon positions and a value for the time interval between position updates and wish to ...
g62446
[ 0.020997364073991776, -0.010099370032548904, -0.0313199907541275, -0.036905787885189056, -0.03872344642877579, -0.017136024311184883, 0.005797612480819225, -0.03537823632359505, -0.07205484807491302, 0.029407352209091187, 0.02844616025686264, 0.023312611505389214, 0.059090062975883484, 0.0...
<p>Does any standard statistical software like R, SAS or SPSS have procedures or codes to analyze log-linear models for missing data in contingency tables using maximum likelihood estimation (or EM algorithm or other iterative procedures), not multiple imputation techniques ? </p>
g62447
[ 0.042148180305957794, -0.10378330945968628, -0.006177566945552826, -0.007763779256492853, -0.05426992103457451, -0.019205903634428978, 0.010091705247759819, 0.018743416294455528, -0.009172623977065086, 0.006596035324037075, 0.02338746376335621, -0.04487157613039017, 0.05385224148631096, 0....
<p>I want to explain the relation between getting a reply and posting in a e-commerce. I want to know how much a reply increases postings.</p> <p>I know I could do a regression of postings=f(replies) but the issue is that I have most of the postings getting only one reply. The distribution is skewed. </p> <p>So, I co...
g62448
[ -0.03995276242494583, 0.014451357536017895, -0.027193065732717514, -0.025896409526467323, 0.060163192451000214, -0.01744837686419487, 0.019729705527424812, 0.010839148424565792, 0.016713952645659447, -0.03552093729376793, 0.00008417770004598424, 0.018560703843832016, 0.023425457999110222, ...
<p>I am using a MANOVA test to compare nine different dependent variables (from neuropsychological and neuropsychiatric assessment) between three groups. The output shows a significant influence from GROUP on my variables (<em>p</em> &lt; .001). </p> <p>Ofcourse, I am interested in how the three groups influence every...
g2797
[ 0.036172837018966675, -0.04381789267063141, -0.0027245476376265287, -0.014939424581825733, -0.04726802557706833, -0.021121621131896973, 0.06562349945306778, 0.04405021294951439, -0.044732920825481415, 0.010164925828576088, 0.004038956481963396, -0.019450487568974495, -0.017706941813230515, ...
<p>Is it possible to perform logarithmic regression on multiple variables with Excel? If I just have a single independent variable than it's very easy to do this using the best-fit line option (it lets me switch from linear to logarithmic). But this feature does not work for multiple variable regression and the regress...
g19548
[ -0.004595072008669376, 0.010224881581962109, 0.01972975954413414, 0.009572004899382591, -0.01764342188835144, -0.07284297794103622, -0.04225805401802063, 0.0013144233962520957, -0.02835369110107422, -0.043504498898983, -0.055098988115787506, -0.013341288082301617, -0.004323324654251337, -0...
<p>I have a basket of time series (stock prices). I want to find the N (fixed or not) time series that will best replicate the basket in the sense that combination of them will be best cointegrated with the basket.<br> Beside using the N series that have the best cointegration scores (ADF test) and regressing these var...
g38606
[ 0.06850257515907288, 0.01001512911170721, 0.005082770716398954, -0.011819114908576012, -0.01665116846561432, -0.07658927142620087, 0.02409735508263111, -0.007014896254986525, -0.015226943418383598, 0.01199389435350895, -0.02877744659781456, 0.027660764753818512, 0.034431278705596924, 0.015...
<p>Let $X_1, X_2, ..., X_n$ be a random sample from a distribution with p.d.f., $$f(x;\theta)=\theta^2xe^{-x\theta} ; 0&lt;x&lt;\infty, \theta&gt;0$$ Obtain minimum variance unbiased estimator of $\theta$ and examine whether it is attained?</p> <p>MY WORK:</p> <p>Using MLE i have found the estimator for $\theta=\frac...
g62449
[ -0.007089852821081877, -0.0392129048705101, 0.0022108033299446106, 0.00010696379467844963, 0.034834932535886765, -0.011192473582923412, 0.031085584312677383, -0.004540390335023403, -0.043965112417936325, -0.02571208029985428, 0.02168637327849865, 0.02991253323853016, -0.004563013557344675, ...
<p>I've developed a logit model to be applied to six different sets of cross-sectional data. What I'm trying to uncover is whether there are changes in the substantive effect of a given independent variable (IV) on the dependent variable (DV) controlling for other explanations at different times and across time. </p> ...
g62450
[ -0.0005459522944875062, -0.030777134001255035, -0.022043462842702866, -0.07898948341608047, -0.008280283771455288, -0.051886171102523804, 0.013920188881456852, 0.017119722440838814, -0.03763636574149132, -0.01895242929458618, -0.011536371894180775, -0.005387490149587393, 0.0674506276845932, ...
<p>I'm optimizing 5 parameters for an option pricing model. Now I want to asses whether these parameters are stable over time (i.e., a year). For this I create about 12 subsamples and estimate the optimal parameters for each subsample (I do this by minimizing a cost function, i.e., chi-squared, under a certain threshol...
g62451
[ 0.02846110798418522, -0.015172619372606277, -0.00932716578245163, 0.024616427719593048, 0.02168390527367592, -0.009307139553129673, 0.012722487561404705, -0.019904453307390213, -0.059454694390296936, 0.037301335483789444, -0.04818021506071091, 0.01989448443055153, 0.0014233157271519303, 0....
<p>I'm trying to find the most similar sample between a candidate and a bag of samples.</p> <p>Consider you have a knowledge corpus as follows:</p> <pre><code>corpus = data.frame(region = factor(), time = numeric(), observation = numeric()) corpus = rbind(corpus, data.frame(region = 'america', time = 1:20, observatio...
g62452
[ 0.05861514061689377, -0.06463414430618286, -0.006579330191016197, -0.014870003797113895, 0.00013294623931869864, -0.03551708161830902, 0.009944787248969078, -0.01982295513153076, -0.018385620787739754, -0.026274340227246284, 0.0511319562792778, 0.023035380989313126, 0.04393266886472702, 0....
<p>I am trying to find the area with thickest density. I have newborn numbers by day for which I am trying to find the series of 7 consecutive days that would produce the highest frequency. So the start and end dates are not tied to any particular day of the week the period can start on any day but would end in 7 days...
g62453
[ 0.03832247108221054, 0.007063635624945164, 0.0028301107231527567, -0.05580790713429451, -0.04992232099175453, -0.047820888459682465, 0.015580730512738228, -0.05848598852753639, -0.02047641947865486, -0.03130292147397995, -0.010167554020881653, 0.0004949860740453005, 0.0817905068397522, 0.0...
<p>Why doesn't the scatter plot change when I perform multidimensional scaling on distance or similarity matrix?</p> <p>This figure uses similarity matrix</p> <p><img src="http://i.stack.imgur.com/ZKWYA.png" alt="enter image description here"></p> <p>And this figure use distance matrix (sqrt(1-similarity))</p> <p><...
g62454
[ -0.016592320054769516, 0.015574974939227104, -0.013734742999076843, -0.03032674826681614, -0.058834757655858994, 0.021216539666056633, -0.02874910831451416, 0.024688992649316788, -0.03512021526694298, -0.013255646452307701, 0.0027417277451604605, 0.012380561791360378, 0.052123453468084335, ...
<p>There is a statistical property - and I only know the name in German and cannot find any proper translation - that is defined as: variance explained of a specific regressor x1 in addition to the variance explained by all other regressors. </p> <p>That is, the shared variance is <em>not</em> included in the explaine...
g62455
[ 0.0576372928917408, 0.03412221744656563, -0.019869521260261536, 0.019390806555747986, 0.0047767916694283485, 0.023533837869763374, 0.005737997591495514, 0.012156349606812, -0.009249348193407059, -0.024313194677233696, -0.044853754341602325, 0.01678043231368065, -0.03719042241573334, 0.0004...
<p>I am trying to implement singular value decomposition in C. I am using routines svdfit and svdvar from Numerical Recipes. The results from svdfit seem to be correct, but the results from svdvar are not. I am struggling with this problem for some time now, and I don't know how to solve it. For example, take the follo...
g62456
[ 0.05509167164564133, -0.06309632211923599, 0.004168263170868158, -0.01082988828420639, 0.01053982600569725, 0.004209497477859259, 0.05181973800063133, 0.04384451359510422, -0.05254347622394562, -0.011545110493898392, -0.030252736061811447, -0.010481727309525013, 0.021198634058237076, 0.007...
<p>how do i interpret the results of the Johansen cointegration test if the result from my STATA output fails to accept both null hypotheses of r=0 and r&lt;=1 ?</p> <p>for example:</p> <p><a href="http://s4.postimage.org/61l9i9pwt/Stata_PRT_SCRN.png" rel="nofollow">STATA Screenshot</a></p> <p>can i conclude whether...
g62457
[ 0.07147843390703201, -0.021449226886034012, -0.005588213913142681, -0.02539282850921154, 0.005146070849150419, -0.008208485320210457, 0.03263871371746063, 0.01581369712948799, 0.018868088722229004, -0.028799371793866158, -0.03377683833241463, -0.008175552822649479, 0.04396804794669151, 0.0...
<p>Given an i.i.d. sample $X = (x_{1}, \dots, x_{n}) \sim N(\mu, 1)$. I have been asked to show that the likelihood of $\mu$ based on the whole sample is proportional to the likelihood based on $\bar{x}$ (the sample mean) alone. I'm a little confused by the phrasing of this question. I was hoping the perhaps somebody c...
g62458
[ -0.019418703392148018, -0.05947580188512802, -0.012079593725502491, -0.05354476720094681, -0.02588506229221821, 0.00004693966911872849, 0.04851805418729782, 0.028832899406552315, -0.02655324526131153, -0.019244443625211716, -0.016977807506918907, 0.05789773166179657, 0.0355658084154129, -0...
<p>I am attempting to update the design of an annual survey which measures the percent-deficient of 26 different asset inventories. Most of these assets don't occur on every sampling unit and some of them are quite rare (occur on around 5% of sampling units). The asset deficiency rates can be estimated by either a sim...
g62459
[ 0.015453468076884747, -0.029707230627536774, -0.00016174856864381582, -0.02334459498524666, -0.024211138486862183, 0.026569396257400513, 0.022706931456923485, 0.02051347866654396, 0.0144940335303545, -0.007700938265770674, 0.06853382289409637, -0.023389946669340134, 0.020624374970793724, 0...
<p>I was looking at the Poisson regression. Here I find that the canonical parameter is taken to be the logarithm of the rate of the Poisson. I was wondering if there is any reason for considering this as the canonical parameter, rather than the rate of the poisson itself (with the restriction that the parameter is pos...
g19559
[ 0.04785457253456116, 0.022493068128824234, 0.006695046089589596, -0.0738258808851242, 0.01763574779033661, -0.0008084045839495957, 0.019971052184700966, 0.011666839011013508, -0.03527495265007019, -0.02806513011455536, 0.011113159358501434, 0.04221785068511963, -0.011846437118947506, 0.001...
<p>A conjecture that I have heard is this: </p> <p><em>When you add a quadratic or a cubic term to a linear latent growth curve model, the fit will always improve</em>. </p> <p>Is this correct? Why/why not?</p> <p>As I have had the idea explained to me, adding additional terms will capture a additional portion of th...
g38614
[ 0.06672273576259613, 0.014554494991898537, 0.023659158498048782, 0.009893140755593777, 0.020181791856884956, 0.028757767751812935, 0.010713066905736923, 0.00047227248433046043, -0.016050836071372032, -0.07288972288370132, -0.04071491211652756, 0.004140780307352543, 0.02024518884718418, -0....
<p>Let $f$ be a function such that:</p> <p>$$f~:~(x,~\theta)\in\mathbb{R}^{3}\times\mathbb{R}^{12} \rightarrow f(x,~\theta)\in\mathbb{R}^3$$</p> <p>My observations $y$ are noisy values taken by the function $f(\cdot ,~\theta)$ for known values of $x$. I would like to estimate the conditional distribution of $\theta \...
g62460
[ 0.009097407571971416, -0.02830815687775612, -0.010941333137452602, -0.03896975889801979, -0.038605932146310806, 0.013792595826089382, 0.03752452880144119, -0.0000228469907597173, -0.06053941324353218, 0.01476480532437563, -0.007931830361485481, 0.047575708478689194, 0.02157149463891983, 0....
<p>I have a problem with the <code>forecast</code> function for ARIMA models in R. It calls <code>predict</code> that calls <code>KalmanForecast</code>. Ok...here's the deal.</p> <p>the mean one-step forecast of the Arima object produced by this call</p> <pre><code>forecast(Arima, h=1)$mean[[1]] </code></pre> <p>is ...
g62461
[ -0.009429625235497952, -0.009555450640618801, 0.0004401413898449391, 0.03169793635606766, 0.0033547969069331884, -0.038041356950998306, 0.008926017209887505, -0.01421666331589222, -0.02981412783265114, -0.009539184160530567, 0.04671448841691017, 0.018119756132364273, 0.07457496970891953, 0...
<p>Are there any <strong>analytic approaches</strong> to using <em>mixture distribution fitting</em> for <em>latent variable analysis</em>? I'm specifically interested in existing approaches to determining whether mixture components indicate a presence of <em>sub-populations</em> OR <em>effect(s)</em> from underlying <...
g19560
[ -0.012050054036080837, -0.049163881689310074, 0.008357947692275047, -0.059054646641016006, -0.03572532534599304, 0.00495657604187727, -0.00187638436909765, 0.02339419722557068, 0.031828150153160095, -0.011673766188323498, 0.04048852622509003, -0.04208886995911598, 0.03950653225183487, 0.03...
<p>Is Student's t test a Wald test?</p> <p>I've read the description of Wald tests from Wasserman's <em>All of Statistics</em>.</p> <p>It seems to me that the Wald test includes t-tests. Is that correct? If not, what makes a t-test not a Wald test?</p>
g62462
[ 0.031113579869270325, 0.03742845728993416, -0.00704125314950943, -0.026893118396401405, -0.03170580789446831, 0.028491908684372902, 0.047714561223983765, 0.0324786938726902, 0.04090205952525139, -0.008983049541711807, 0.01684306189417839, 0.023331008851528168, -0.00011806435941252857, -0.0...
<p>I have a question about cluster analysis. There are 3000 companies, which have to be clustered according to their power usage over 5 years. Each company has values for every hour during 5 years. I would like to find out if some companies have the same pattern in usage power over the time period. The results should b...
g19563
[ 0.016157304868102074, 0.004051618278026581, 0.0017555385129526258, -0.010324043221771717, -0.04350787401199341, -0.07696381956338882, 0.011408415623009205, -0.003550156019628048, -0.03519477695226669, 0.022364238277077675, 0.03983216732740402, -0.005694186314940453, 0.038263242691755295, 0...
<p><img src="http://i.stack.imgur.com/nGx8c.png" alt="Question for interpretation"></p> <p>The way I interpreted this question was that $H_0: \mu \ge 10, H_a: \mu &lt; 10$. But the answer for this question set up a hypothesis of $H_0: \mu = 10,H_a: \mu&gt;10$. Shouldn't it be the first way?</p>
g62463
[ 0.04522941634058952, 0.031247703358530998, 0.011965709738433361, -0.05300965532660484, 0.06926219165325165, -0.026422839611768723, 0.0363001748919487, 0.07277639210224152, -0.06780651956796646, -0.038972534239292145, 0.018698809668421745, 0.0035622764844447374, 0.020895812660455704, 0.0519...
<p>I'm trying to re-create an analysis done using <code>Stata</code> function <code>xtreg</code> (though I don't have the code) with <code>R</code> package <code>plm</code>, and I'm having trouble translating between the two. A minimal example of the model I'm trying to estimate would be as follows:</p> <p>$$ \text{De...
g62464
[ -0.0054653966799378395, -0.07759995013475418, -0.018977593630552292, -0.0341060571372509, 0.0037234853953123093, -0.02012844942510128, 0.011549364775419235, 0.013529921881854534, -0.038218144327402115, 0.019985079765319824, 0.013686083257198334, 0.03334461525082588, 0.01873822696506977, -0...
<p>I would like to know how can I explain PCA to someone not familiar with statistics. I have categorical/binary data and when I apply PCA the representation actually makes sense. So, if I put PCA in context what is the intuition behind it? Say, you have variables x,y,z and row 1= 0 0 1 row 2= 0 1 0 (i.e. for 1st obser...
g49447
[ 0.012811487540602684, -0.01413037721067667, 0.006337814498692751, -0.0660875216126442, 0.03740236535668373, 0.0025749432388693094, 0.10349741578102112, 0.04967677220702171, -0.054535821080207825, -0.030200017616152763, -0.011027908883988857, 0.007439000532031059, 0.02527521550655365, 0.075...
<p>In several analyes I performed, I occasionally observed that when dealing with lagged variables, including contemporaneous values of the same variables in the regression increases the signficance of the lagged variables. The contemporaneous values are insignificant themselves nevertheless.</p> <p>For example, I reg...
g62465
[ 0.06649167835712433, -0.028396878391504288, -0.012912711128592491, -0.029040180146694183, 0.04635755345225334, -0.025114767253398895, 0.018155377358198166, 0.02056170254945755, -0.024076558649539948, -0.0020418637432157993, 0.026209477335214615, 0.041229765862226486, 0.04923189803957939, 0...
<p>I am trying to train a random forest classifier. As predictors, I keep both discrete features and continuous features (the discrete ones including booleans, counters, etc., and the continuous contains floats).</p> <p>Training the model both in <code>R</code> and in Python's <code>scikit.learn</code>, I get that the...
g62466
[ -0.02288707345724106, -0.015133710578083992, 0.043878223747015, -0.0335775725543499, 0.07655347138643265, 0.005648076068609953, 0.017972402274608612, 0.009711548686027527, -0.05818736180663109, -0.07329978048801422, -0.019225459545850754, -0.00240354984998703, 0.01582374982535839, 0.022907...
<p>I have a basic question - how to I set up a loss matrix to weigh the cost of a false positive higher than a false negative? I am trying to produce a tree in rpart to classify a disease with high specificity.</p> <p>Any advice would be appreciated, thanks</p>
g610
[ 0.06916556507349014, -0.027354411780834198, -0.0023816986940801144, -0.04417555406689644, -0.004353370983153582, -0.060562342405319214, -0.031082360073924065, -0.03309638798236847, -0.044180069118738174, 0.02414800226688385, 0.0033896409440785646, 0.07932506501674652, 0.0706377848982811, 0...
<p>I have a set of means and standard deviations. For each mean I can calculate a 95% confidence interval. I plot these means and confidence intervals against an independent variable and I fit a best sigmoidal curve through this data. </p> <p>I want to calculate the region of 95% confidence above and below this curve...
g62467
[ 0.06234124302864075, -0.016000552102923393, -0.013476734980940819, 0.02406826615333557, -0.08319999277591705, 0.03383607789874077, 0.007265632972121239, 0.01425287313759327, -0.053155332803726196, -0.05441875383257866, 0.02118454873561859, 0.012951230630278587, 0.03211157023906708, -0.0381...
<p>I have a question about Monte Carlo integration. As I understand it the method takes a region S of known volume V which contains the region T specified in the definite integral. $T \in S$.</p> <p>Then random points in S are selected and it is checked if they belong to the volume that is the volume under the graph.<...
g62468
[ 0.06004519760608673, 0.01565038599073887, -0.01262598391622305, 0.009009912610054016, -0.04801873117685318, -0.004517643246799707, 0.03425535187125206, -0.02744581550359726, -0.039022162556648254, -0.007939310744404793, -0.026084337383508682, -0.00906072836369276, 0.015055723488330841, 0.0...
<p>Over the past few weeks I have been trying to understand MCMC and the Metropolis-Hastings algorithm(s). Every time I think I understand it I realise that I am wrong. Most of the code examples I find on-line implement something that is not consistent with the description. i.e.: They say they implement Metropolis-Hast...
g1090
[ 0.024361342191696167, -0.06871099770069122, -0.018463660031557083, -0.03017553687095642, -0.03311062231659889, -0.01728151924908161, 0.015847811475396156, 0.07342220842838287, -0.006308525800704956, 0.07476972788572311, -0.0011865658452734351, 0.0350307859480381, 0.014454487711191177, 0.06...
<p>I am looking at several dependant variables for which I created LMMs of the following kind:</p> <pre><code>DV ~ Group + (1|Subject) + (1|Time) </code></pre> <p>Now I am struggling with how to interpret the output concerning the random effects, e.g. for DV1:</p> <pre><code>Random effects: Groups Name Var...
g19574
[ 0.007853320799767971, -0.04685679078102112, -0.018542392179369926, -0.03707602992653847, -0.040196362882852554, 0.03818775340914726, 0.06299129128456116, -0.02843083254992962, -0.02957465499639511, -0.030925624072551727, 0.0019183601252734661, 0.0449003241956234, 0.015671396628022194, 0.01...
<p>Is there a way of performing HAC robust standard errors in SPSS?</p>
g62469
[ 0.04358815774321556, -0.07209648936986923, -0.020015815272927284, -0.02966502495110035, 0.015501707792282104, -0.010745679028332233, -0.008253764361143112, 0.07787181437015533, -0.029448363929986954, -0.025405745953321457, 0.030941443517804146, -0.029152678325772285, 0.09009531140327454, 0...
<p>I want to use analysis of covariance in R. The model is</p> <p>$y_{ij} = \mu + t_i + r_j + b(x_{ij} - \bar{x}) + e_{ij} $ </p> <p>In R it is possible to get Ryy, Tyy, Eyy, SSE as well as b and adjusted treatment or block with using 'lm' and 'anova'.</p> <p>However I need Rxx, Txx, Exx, Rxy, Txy and Exy (SSCP). SA...
g62470
[ -0.019377224147319794, -0.025328997522592545, -0.011624150909483433, -0.021484430879354477, 0.02888680435717106, -0.027759497985243797, -0.0003109806275460869, 0.036740291863679886, -0.02561900205910206, 0.030580490827560425, -0.016635837033391, 0.029052330181002617, 0.00002013788434851449, ...
<p>I want to construct a path analysis model that can account for measurement error in totally aggregated parcels, which refer to parcels where all of the items in a scale are summed or averaged. If I am not mistaken, Bollen (1989) advocates the following formula for computing the error variance of each parcel:</p> <p...
g19575
[ -0.036001164466142654, -0.0596889853477478, -0.0012904999312013388, -0.030763233080506325, -0.011614598333835602, -0.007575192954391241, 0.049862269312143326, 0.058858681470155716, -0.04451191797852516, 0.007108689285814762, -0.00948411226272583, -0.028427455574274063, 0.03201080858707428, ...
<p>I've heard a couple of definitions of a Bayesian plot, but I am not 100% sure what it is and whether it is possible to plot this in an R.</p> <p>An example of the plot is here: <a href="http://www.springerimages.com/Images/MedicineAndPublicHealth/1-10.1007_s11307-008-0154-3-1" rel="nofollow">http://www.springerimag...
g38639
[ 0.019667303189635277, -0.04307831451296806, -0.00014326497330330312, -0.03739692643284798, -0.07726403325796127, -0.007768471259623766, 0.019425546750426292, 0.030532728880643845, -0.03480001166462898, -0.03176788240671158, 0.034928008913993835, 0.04119948670268059, 0.050223443657159805, -...
<p>I am trying to classify texts using a bag of words algorithm. My feature vector is thus a large array of words. In order to build my feature vector, I parse the sample and put a one in the index corresponding to the word found. I use sparse format to represent the feature vectors. A little example to clarify:</p> <...
g19576
[ 0.00009497126302449033, -0.05476284772157669, -0.003415449056774378, -0.03850372135639191, 0.020494772121310234, -0.028211137279868126, 0.03899095579981804, 0.04144927114248276, -0.025081254541873932, 0.00655029620975256, 0.02474246360361576, 0.024148613214492798, 0.026675492525100708, 0.0...
<p>It is fairly easy to figure out what is the average number of rolls it would take to roll all faces of a die [$1 + 6/4 + 6/4 + 6/3 + 6/2 + 6/1 = 14.7$], but that got me thinking of a seemingly more complicated problem.</p> <p>If you roll a die 1-5 times, the odds of <em>all</em> faces showing is obviously 0. If you...
g62471
[ 0.012719763442873955, -0.006822558585554361, 0.002292390214279294, 0.045708853751420975, -0.01740841008722782, -0.08398696780204773, 0.05699721351265907, 0.0024282687809318304, 0.001808021916076541, 0.03247961029410362, -0.0035144800785928965, 0.01087530329823494, 0.06426293402910233, 0.05...
<p>I am working on a project where I need to chart statistical data and related, skewed distributions a la <a href="http://en.wikipedia.org/wiki/Skew_normal_distribution" rel="nofollow">http://en.wikipedia.org/wiki/Skew_normal_distribution</a>.</p> <p>Unlike with normal distributions, in these charts, when there is sk...
g62472
[ -0.021298009902238846, 0.018139267340302467, -0.036474552005529404, 0.017490839585661888, -0.02554314397275448, -0.0033240439370274544, -0.04410278797149658, 0.047298748046159744, -0.01592402532696724, -0.0035645258612930775, 0.014820020645856857, 0.0002635767450556159, 0.09928128868341446, ...
<p>I need to reproduce this code using all of these variables.</p> <pre><code>composite &lt;- read.csv("file.csv", header = T, stringsAsFactors = FALSE) composite &lt;- subset(composite, select = -Date) model1 &lt;- lm(indepvariable ~., data = composite, na.action = na.exclude) composite is a data frame with 82 variab...
g62473
[ 0.007370062172412872, -0.02333022467792034, -0.0170157290995121, -0.07669977098703384, 0.02656201459467411, -0.0216898825019598, 0.023234760388731956, 0.030442191287875175, -0.03342439606785774, -0.01566479355096817, 0.005845293402671814, 0.011415407992899418, 0.02381051890552044, 0.003360...
<p>My original data has many more columns (features) than rows (users). I'm trying to reduce the features of my SVD (I need all of the rows). I found one method of doing so in a book called "Machine Learning in Action" but I don't think it will work for the data I am using.</p> <p>The method is as follows. Define SVD ...
g62474
[ 0.003343798452988267, 0.019357895478606224, 0.008971771225333214, 0.007540688384324312, -0.04493412375450134, -0.05272766947746277, 0.040695853531360626, 0.05854816734790802, -0.02084304764866829, 0.002030403586104512, -0.024255728349089622, 0.038533765822649, 0.12538345158100128, 0.024393...
<p>I want to test the hypothesis that IV 2 (post-test value) is a better predictor for the criteria (no success vs. success) than IV 1 (pre-test value). Those IVs are indicators for static vs. dynamic learning. I conducted a logistic regression analysis for both IVs seperately and it seems that IV 2 is indeed the bette...
g5378
[ 0.012739145196974277, -0.07788258045911789, -0.0007621946278959513, -0.014614773914217949, 0.010614769533276558, -0.028362303972244263, 0.055947694927453995, -0.016694024205207825, -0.03163733333349228, -0.016973719000816345, -0.011722078546881676, 0.018374865874648094, 0.03549041226506233, ...
<p>I was hoping somebody could help with determining the correct statistical test to use.</p> <p>Basically a teaching session was done which assessed confidence and perceptions of handling a situation using 3 questions. Each question had a Likert Scale (1-5). The same 3 questions on the pre and post questionnaire.</...
g19578
[ 0.00896901823580265, -0.03655151277780533, -0.01284062396734953, -0.038830552250146866, 0.005226890556514263, 0.0494910329580307, 0.026290448382496834, -0.018237987533211708, -0.02159586362540722, 0.005509743466973305, 0.06443905830383301, -0.025445494800806046, 0.0027013705112040043, 0.03...
<p>I need to test my data to see if it follows a normal distribution with specific mean and std like N~(mu, std) I know that this can be done by Kolmogorov-Smirnov test which has a function in both MATLAB and R but the default for these function is standard normal and I do not know how should I specify my mu and std i...
g19580
[ 0.013052891008555889, -0.07467777281999588, 0.0015660991193726659, 0.00869034230709076, -0.07319428771734238, 0.021219691261649132, 0.02445610985159874, 0.04217978194355965, -0.024185391142964363, -0.012153847143054008, 0.010139768011868, 0.044693756848573685, 0.03330075740814209, 0.000556...
<p>Just a quick introduction, I'm rubbish at stats. I asked a question before which was very well answered but I have since modified the experiment in a way that confuses me as to which test I should use.</p> <p>So in the previous question we finished concluding that an independent t-test would be suffice as I am comp...
g62475
[ 0.019651733338832855, -0.06452350318431854, -0.003295400645583868, -0.021368423476815224, 0.01059130858629942, -0.06561592221260071, 0.06437863409519196, 0.025836965069174767, 0.013039045967161655, 0.009007319808006287, 0.004910553805530071, 0.02936762385070324, 0.034593164920806885, -0.00...
<p>I am doing a work to school in which I have to analyze effect of expenditure for research and development on Gini index. I have <em>Panel data</em> and when I do <em>Fixed effect model</em>, I have problem with interpreting them. If anybody can help, I am looking for some place where I can find what each of the resu...
g19581
[ -0.02466423809528351, -0.012671280652284622, -0.009072995744645596, -0.03217067942023277, 0.043552298098802567, 0.0075048962607979774, 0.05482015386223793, -0.008752412162721157, -0.02018994837999344, -0.024098819121718407, -0.04805801063776016, 0.012816891074180603, 0.011361608281731606, ...
<blockquote> <p>Suppose a researcher was investigating gender-based wage disparities across 10 different firms. The researcher obtained the following data from these 10 companies employees: 1) years of experience; 2) education; 3) gender; and 4) the employees’ company. Suppose the researcher is interested in ...
g62476
[ 0.018773594871163368, 0.006293564103543758, 0.0020530184265226126, -0.011403176933526993, 0.04223233088850975, 0.005789834540337324, 0.036044005304574966, 0.004334542900323868, -0.06284007430076599, 0.023897437378764153, 0.007231481838971376, 0.009798012673854828, 0.050299324095249176, 0.0...
<p>I have a fundamental question: is it reasonable to use a statistical test to find out if 2 datasets are similar or not? Some comments have called out the T-test as being unable to answer that question. Why is the T-test insufficient? Furthermore, what other tests are there to determine differences in distributions f...
g62477
[ 0.03344905748963356, 0.020279990509152412, 0.026247261092066765, -0.03917496278882027, -0.0451362244784832, -0.022963933646678925, 0.02631598338484764, 0.016112491488456726, -0.058651480823755264, -0.030706187710165977, 0.04328353703022003, -0.030022472143173218, 0.0517788901925087, 0.0054...
<p>There is a sequence of data. It might have different types of trend, i.e., increasing, decreasing, and even cycling pattern. But there is an assumption that these trends should be smooth. (maybe not mathematically strict). In other words, there should not have a spike, or a sharp changing point; or the changing rati...
g62478
[ 0.02496844343841076, 0.020078720524907112, -0.01692706160247326, -0.014594028703868389, -0.005439224652945995, -0.06717226654291153, 0.08982065320014954, -0.033097073435783386, -0.01298222504556179, -0.03371632099151611, -0.019035305827856064, 0.06363444775342941, 0.03807223215699196, 0.01...
<p>Let's say there's a measurement hierarchy for discrete variables, that looks like nominal (grade pass/fail) &lt; ordinal (grade A/B/C) &lt; interval (grade 90-100; 80-89; 70-79, etc). Hierarchy is used to refer to the possiblity that we can assign order to the discrete values.</p> <p>I read a line that methods appl...
g19585
[ 0.03578752279281616, -0.005125975236296654, -0.007525554858148098, -0.04883702099323273, 0.023566488176584244, -0.004195245914161205, 0.01379008311778307, -0.013639939948916435, -0.044985927641391754, -0.058933038264513016, -0.05044279247522354, 0.04405910521745682, 0.005074368789792061, 0...
<p>I'm trying to build a weekly alert system to let me know when something unusual has happened in my analytics data that might require further investigation. Currently there is an outdated system in place that only looks at week over week % increase, which obviously is not working.</p> <p>Let's think about the only m...
g62479
[ -0.002577118808403611, 0.03616040572524071, -0.03777676448225975, -0.0036292828153818846, -0.02779128961265087, -0.07841966301202774, 0.03405964747071266, -0.008373172953724861, 0.023607732728123665, -0.028301984071731567, 0.04236401617527008, 0.0022818611469119787, 0.1018652394413948, -0....
<p>I am trying to predict the time to certain type of failure given the following data on Certain Factory Equipments. The data I have are readings collected every day for sensor installed on those equipments .On Same day, an equipment can have different Repaires performed,and on some days no repairs. When a repair is p...
g62480
[ -0.016407079994678497, -0.06458986550569534, -0.016698529943823814, -0.020658988505601883, -0.02377583272755146, -0.047820981591939926, 0.07321367412805557, -0.03163697198033333, -0.07569403946399689, -0.03332448750734329, -0.0023535822983831167, 0.016444729641079903, 0.037651125341653824, ...
<p>One month before the election, a poll of a large number of randomly selected voters showed 65% planning to vote for a certain candidate. The newspaper article reported a 90% conservative margin of error of 4 percentage points.</p> <p>Use the above information to construct a 90% conservative confidence interval for ...
g19587
[ 0.00325760361738503, -0.02285725809633732, -0.01636539027094841, 0.06804949790239334, -0.004734826274216175, 0.038325946778059006, -0.003030597697943449, 0.038626428693532944, -0.011683131568133831, -0.024186421185731888, 0.026196865364909172, -0.013227744027972221, -0.009089450351893902, ...
<p>This is probably a really basic question, but it's the first time I've created a model that defines Poisson as its error family. </p> <p>In setting up my variables to make the model, should I be concerned about whether or not predictor variables are normally distributed, and if not, should I be attempting to transf...
g62481
[ 0.021189387887716293, -0.058340415358543396, -0.025282299146056175, -0.04195988178253174, 0.01718606799840927, -0.0029669294599443674, -0.0017832922749221325, 0.06237250939011574, -0.04687083512544632, -0.0445164330303669, -0.016932407394051552, -0.021128365769982338, -0.02472648397088051, ...
<p>I have the following study setup:</p> <p>Three groups of people were asked a question, and the answer was ordinal (likely, somewhat likely, somewhat unlikely, unlikely). In my data set, I have a contingency table between the response and groups, and would like to know whether some of the groups of people were more ...
g38660
[ -0.021230008453130722, -0.02209480293095112, -0.014744833111763, -0.04764842242002487, 0.029092557728290558, -0.052391547709703445, -0.011584015563130379, -0.028541134670376778, -0.0032970726024359465, -0.029211048036813736, 0.07667204737663269, 0.03720315918326378, 0.0014028694713488221, ...
<p>I want to perform a simulation study where I want to use gamma random variable as the test statistic for some test. Does anyone know a hypothesis test whose test statistic has a gamma distribution.</p> <p>Thank you very much.</p>
g19589
[ 0.01786447875201702, 0.031885989010334015, 0.023849448189139366, -0.02799716591835022, 0.002505560638383031, 0.002347499132156372, -0.0053367940708994865, -0.03796909376978874, 0.008944722823798656, -0.0020203220192342997, 0.05763833969831467, 0.03157445043325424, -0.0001078583300113678, -...
<p>Instead of this simplified-version of this <a href="http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo_extended.py" rel="nofollow">file</a>:</p> <pre><code>#!/usr/bin/env python import numpy as np import pylab as P data = [x.rstrip().split("\t") for x in file(".data", "r")...
g62482
[ -0.012120676226913929, -0.010691240429878235, -0.012601436115801334, -0.10309921205043793, -0.013078157790005207, -0.020636333152651787, -0.009657207876443863, 0.03218154236674309, -0.053684405982494354, -0.06291788071393967, 0.011315764859318733, 0.031483232975006104, 0.06890513002872467, ...
<p>I fit a logistic on three numeric continuous variables, followed by a categorical factor [Y, N].</p> <pre><code>logit2A &lt;- glm(DisclosedDriver ~ VehDrvr_Dif+POL_SEQ_NUM+PRMTOTAL+SAFE_DRVR_PLEDGE_FLG, data = DF, family = "binomial") </code></pre> <p>Fit looks wonderful.</p> <pre><code>Coefficients: ...
g133
[ 0.0047137923538684845, -0.03363977372646332, -0.004065013024955988, -0.026997704058885574, 0.040865734219551086, -0.022770432755351067, 0.05078815296292305, 0.04285081848502159, -0.062407031655311584, -0.06624138355255127, -0.057516638189554214, 0.01571761816740036, 0.028178006410598755, -...
<p>I came across <a href="http://web.mit.edu/~wingated/www/introductions/mcmc-gibbs-intro.pdf" rel="nofollow">this article</a> where it says that in Gibbs sampling every sample is accepted. I am a bit confused. How come if every sample it accepted it converges to a stationary distribution.</p> <p>In general Metropoli...
g62483
[ 0.06341686099767685, -0.04961108788847923, -0.007750858552753925, -0.014802657999098301, -0.013202822767198086, 0.029643461108207703, 0.0059010679833590984, 0.0704808235168457, -0.021063201129436493, -0.02371469885110855, -0.01008076686412096, 0.0259457528591156, 0.04211168363690376, 0.010...
<p>Canonical correlation analysis (CCA) is a technique related to principal component analysis (PCA). While it is easy to teach PCA or linear regression using a scatter plot (see a few thousand examples on google image search), I have not seen a similar intuitive two-dimensional example for CCA. How to explain visually...
g62484
[ 0.054754838347435, -0.045347508043050766, 0.026393132284283638, -0.06970353424549103, -0.046311940997838974, 0.012425706721842289, 0.09259520471096039, 0.012787104584276676, -0.009370865300297737, -0.06334929168224335, 0.0517582967877388, 0.035541120916604996, 0.056331850588321686, 0.03018...
<p>Consider a multiple regression predicting outcome <code>Y</code> using a continuous predictor <code>P</code> and an interaction between <code>P</code> and a group variable <code>G</code> with the values 0, 1, and 2. We create two interaction variables, <code>PxG1</code> (set to P when G is 1 and 0 otherwise) and <co...
g62485
[ -0.004550248850136995, -0.0491829439997673, -0.003272503847256303, -0.033906418830156326, 0.03072955459356308, -0.026385538280010223, 0.04153943061828613, 0.030356762930750847, -0.014577875845134258, -0.006606909446418285, 0.012729714624583721, 0.03337616100907326, -0.024223992601037025, 0...
<p>I am looking for a fast approximation to the inverse CDF of the Beta distribution. The approximation need not be precise, but more stress is on simplicity (I'm thinking Taylor expansion of the first 1 or 2 terms). Any ideas?</p> <p>A few more details: in my Beta distribution, $a,b$ are integers. Also the value I am...
g62486
[ 0.01184777170419693, -0.007102746516466141, 0.007862774655222893, -0.05514556169509888, -0.029466692358255386, -0.029300572350621223, -0.0035333584528416395, 0.00852237083017826, -0.0585019588470459, -0.03947974741458893, -0.018211111426353455, 0.057762786746025085, -0.041493773460388184, ...
<p>In some sense the multivariate normal is the "nicest" distribution that we can describe using only a vector (rank one tensor) and a symmetric positive definite matrix (rank two tensor). $$\mathcal{N}(\mu_i, \Sigma_{ij}) = |2\pi\Sigma|^{-\frac{1}{2}}e^{-(x-\mu)^T\Sigma^{-1}(x-\mu)}$$</p> <p>Is there a generalizati...
g37464
[ 0.01137822587043047, -0.014166499488055706, -0.020805569365620613, -0.018734563142061234, -0.01744842901825905, -0.018431812524795532, 0.005526495631784201, -0.040044866502285004, -0.02703779563307762, 0.032084871083498, 0.012324046343564987, 0.03019379824399948, 0.02206171303987503, -0.05...
<p>I have 20 correlation coefficients (r) to report, for example, .34, .45, .67, .23. and so on. These are correlations between Variable A and Variable B, based on gender, age, education levels etc. </p> <p>I am after a succient method to show all the correlations in one glance. Is there any best practice in regard to...
g62487
[ 0.04843929782509804, 0.009896847419440746, 0.00854557380080223, -0.056026265025138855, 0.0023557147942483425, -0.047604117542505264, 0.013848752714693546, 0.009768211282789707, 0.00044863190851174295, -0.025374749675393105, 0.03308409824967384, -0.04632405564188957, 0.0530976839363575, 0.0...
<p>I have an intuition that re-casting the <a href="http://en.wikipedia.org/wiki/Poisson_binomial_distribution" rel="nofollow">Poisson binomial distribution</a> probability mass function in the following way might lead to a more elegant closed form than the DFT approach:</p> <p>Sum the $\log_2$'s of the probabilities ...
g62488
[ -0.028872050344944, 0.010782686993479729, -0.0035469753202050924, -0.00961768813431263, -0.018081462010741234, -0.0542316697537899, -0.020915964618325233, -0.006292624399065971, -0.0259030032902956, -0.038704726845026016, -0.05271946266293526, 0.00022771656222175807, 0.016196217387914658, ...
<p>I have a question on how a statistician would normally interpret an anova output. Say I have anova output from R.</p> <pre><code>&gt; summary(fitted_data) Call: lm(formula = V1 ~ V2) Residuals: Min 1Q Median 3Q Max -2.74004 -0.33827 0.04062 0.44064 1.22737 Coefficients: E...
g49562
[ 0.023196134716272354, -0.01620413362979889, -0.00663936510682106, -0.001985112437978387, -0.03427771106362343, 0.015820031985640526, 0.062291789799928665, 0.025395318865776062, -0.015055864118039608, -0.004922426771372557, -0.05014656484127045, 0.043031927198171616, 0.059202488511800766, 0...
<p>I performed two principal components analyses: in R and in SPSS - using the same dataset and the same variables. I got the same results - at least to some point. The eigenvalues are the same (I used the correlation matrix in both cases, no rotation), but the loadings are different.</p> <p>I decided to take a look a...
g19599
[ 0.012417193502187729, -0.047195665538311005, -0.009119346737861633, -0.0956088975071907, -0.014482386410236359, -0.0077621908858418465, 0.059857264161109924, -0.009762316010892391, -0.01979060471057892, -0.012304766103625298, 0.012257437221705914, 0.023777740076184273, 0.020805973559617996, ...
<p>The Beta distribution has the PDF:</p> <p>$$f\left(x\right)=\frac{x^{\alpha-1}\left(1-x\right)^{\beta-1}}{\mathrm{B}\left(\alpha,\beta\right)}$$</p> <p>for $0&lt;x&lt;1$, and $f(x)=0$ otherwise. The parameters $\alpha,\beta$ are positive real numbers.</p> <p>The mean and variance are given by:</p> <p>$$\mu=\frac...
g62489
[ -0.027849599719047546, -0.03871921822428703, -0.02583879418671131, -0.06243428587913513, 0.07683255523443222, 0.0024205625522881746, 0.0031711687333881855, 0.03802276402711868, -0.06651072949171066, -0.026177391409873962, -0.040511444211006165, 0.07185004651546478, -0.050697024911642075, 0...
<p>Consider the companion papers by Clayton &amp; Schifflers (1987) here: <a href="http://www.pauldickman.com/cancerepi/handouts/handouts_time_trends/clayton_schifflers_1987a.pdf" rel="nofollow">http://www.pauldickman.com/cancerepi/handouts/handouts_time_trends/clayton_schifflers_1987a.pdf</a>, <a href="http://www.paul...
g19601
[ -0.0044107199646532536, -0.05356437340378761, -0.03223728761076927, -0.03424469009041786, 0.021532481536269188, 0.04306066408753395, 0.07562018185853958, 0.01798447221517563, -0.08347613364458084, -0.0027661737985908985, 0.010050605051219463, 0.02135121263563633, 0.046548567712306976, 0.00...
<p>I have a Pandas data frame as follows:</p> <p>Event Location| Number of events | %age success</p> <p>A | 10 | 0.5</p> <p>B | 2 | 1</p> <p>C | 1 | 0</p> <p>D | 100 | 0.3</p> <p>E | 1 | 0</p> <p>F | 1 | 1</p> <p>...</p> <p>...</p> <p>The data represent the entire population of events. I am looking for a way...
g62490
[ -0.013463054783642292, 0.045156728476285934, 0.004981879144906998, -0.048553358763456345, -0.007158741354942322, -0.03830104321241379, 0.03581994026899338, 0.07560046762228012, -0.010114838369190693, -0.05575796961784363, 0.008397378958761692, 0.004414507653564215, 0.05911397933959961, -0....