question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I’ve noticed that in R, Poisson and negative binomial (NB) regressions always seem to fit the same coefficients for categorical, but not continuous, predictors. </p> <p>For example, here's a regression with a categorical predictor:</p> <pre><code>data(warpbreaks) library(MASS) rs1 = glm(breaks ~ tension, data=war...
g63897
[ 0.045975517481565475, -0.08728602528572083, 0.0014663082547485828, -0.0007047404069453478, 0.029884690418839455, -0.034000806510448456, 0.0033866495359688997, 0.021656213328242302, -0.06507577747106552, -0.002521812915802002, -0.031058713793754578, -0.0089586041867733, 0.010948069393634796, ...
<p>I want to apply a GAMM with R to this time series but I am not sure how to handle the station P18, as shown in the figure below.</p> <p><img src="http://i.stack.imgur.com/4uSak.png" alt="enter image description here"></p> <p>If I shrink the dataset to the point where P18 ends (i.e. left side of the dashed line) I ...
g63898
[ 0.026649901643395424, -0.02083366923034191, -0.011973725631833076, -0.06116621568799019, 0.0026118354871869087, 0.04351947829127312, 0.04479265958070755, 0.049598194658756256, -0.028767971321940422, -0.03935081511735916, 0.017805086448788643, 0.02035011537373066, 0.037470556795597076, -0.0...
<p>I have <a href="http://en.wikipedia.org/wiki/Case_fatality_rate" rel="nofollow">case fatality rates</a> (deaths per 100 cases) for 2 different states receiving different treatments for 17 years.</p> <p>What is the best statistical method to compare them? Relative risk, odds ratio, plain time series analysis, ...?</...
g63899
[ 0.08346419781446457, -0.052700236439704895, 0.004603506065905094, -0.02432744950056076, -0.005761240608990192, -0.018141794949769974, 0.04199817776679993, 0.003561173565685749, -0.01764322817325592, 0.0018519849982112646, 0.06803485751152039, -0.0295333843678236, 0.12379859387874603, -0.00...
<p>I am using the ar() function to fit an AR model to some data, and this object will return the in sample residuals. I also know the syntax for how to get the corresponding predicted values, but I want to compute these predicted values manually (just to check my own understanding) for a simple AR(1) example. </p> <p>...
g305
[ 0.057790160179138184, -0.11288116872310638, 0.0013728493358939886, -0.026340454816818237, -0.06067472696304321, 0.00978393480181694, 0.030936429277062416, 0.026085203513503075, -0.05055692419409752, -0.006334196776151657, 0.0033899927511811256, 0.03162822872400284, 0.04727496579289436, -0....
<p>I am using a mixed repeated measures with an ARMA(1,1) variance covariance structure. I have a basic understanding of why I am using this model etc but I need some help on articulating a few things:</p> <ol> <li><p>How does this model correct for the variance in time between each time point? Or does it ignore the p...
g63900
[ 0.0050250268541276455, -0.06613610684871674, -0.0016522005898877978, -0.028217123821377754, 0.04232795536518097, -0.0010089387651532888, 0.03170057013630867, -0.02335985377430916, -0.010247956961393356, 0.03792186081409454, -0.0066635143011808395, -0.019466664642095566, -0.036887265741825104...
<p>I am always struggling with normality testing for quantitative predictors (no factors) and transforming them to normality. </p> <ul> <li>If I am running a GLMM and my predictors are really non-normal, should I transform them as well to try to make them normally distributed? </li> <li>I know that this is important ...
g49518
[ 0.03030591644346714, -0.003229389898478985, -0.000025268485842389055, -0.018772734329104424, 0.0308297760784626, 0.01345703937113285, 0.024544386193156242, 0.0572807639837265, -0.010500410571694374, -0.06301126629114151, 0.028788123279809952, 0.024028785526752472, 0.013674505054950714, -0....
<p>Let X and Y be two random variables with means $μ_X$ and $μ_Y$ , variances $σ^2_Y$, $σ^2_X$ and covariance $σ_{XY}$ . Show that $E(XY) = σ_{XY} + μ_Xμ_Y$?</p> <p>I tried the Covariance formula with:</p> <p>$$Cov(X,Y) = E(X − E(X))(Y − E(Y ))$$ $$\int_{-\infty}^{\infty}{(x − E(X))(y − E(Y ))f(x, y)dxdy}=$$ $$=E(XY ...
g63901
[ -0.011443830095231533, -0.010928976349532604, -0.005633575841784477, -0.04266776517033577, 0.02898242324590683, -0.02361270971596241, -0.012695820070803165, -0.0357334241271019, -0.00813087448477745, 0.025747248902916908, 0.009713241830468178, 0.04210313409566879, -0.02979700267314911, 0.0...
<p>I have count data for a number of subjects in different groups I would like to compare. The averages of the cumulative sums are shown in the figure below. As you can see the Red group has a spike at the end. This is because one subject in that group had fewer trials. This subject had the lowest cumulative number of ...
g63902
[ -0.009984473697841167, -0.03210492432117462, -0.009695414453744888, 0.0027721826918423176, -0.035007718950510025, -0.05371879041194916, 0.07134851068258286, -0.00538301607593894, -0.028302747756242752, -0.018371667712926865, 0.04202394187450409, 0.02328854613006115, 0.07315057516098022, 0....
<p>I wish to find the parameter $\nu&gt;2$ for the student t-distribution such that the following constraint will hold: if $F_T$ is the CDF of that distribution and $F_N$ is the CDF of the normal distribution, then $$\frac{F_T\left(-2\sqrt{\frac{\nu}{\nu-2}}\right)}{F_N(-2)}=c$$ for some pre-determined $c$.</p> <p>The...
g63903
[ -0.008355383761227131, 0.03448263928294182, -0.018247568979859352, -0.05263204127550125, 0.008831693790853024, 0.012873167172074318, 0.03342423215508461, -0.05630898475646973, -0.04526379331946373, -0.02978663705289364, -0.0244542695581913, 0.038890060037374496, -0.014741028659045696, -0.0...
<p>I have a doubt regarding the variance, I try to explain It with an example.</p> <p>I have two vectors, like:</p> <pre><code>a &lt;- c(1:10) 1 2 3 4 5 6 7 8 9 10 b &lt;- c(10:1) 10 9 8 7 6 5 4 3 2 1 </code></pre> <p>the variance is obviouly the same:</p> <pre><code>&gt; var(a) 9.166667 &gt; var(...
g63904
[ 0.0007760542212054133, -0.038950901478528976, -0.00791905727237463, -0.008424193598330021, 0.03140038996934891, 0.02542712353169918, 0.02270950935781002, -0.011048818938434124, -0.03905608132481575, -0.03813672065734863, -0.002041627885773778, 0.06439784914255142, -0.004826668184250593, -0...
<p>I use 48 energy functions to score protein-ligand interactions. I have a dataset of protein-ligands for which I know the experimental binding energy, so I can compare it with the score assigned from each energy function. With those data I can do step-wise multiple regression to find a linear combination of the follo...
g63905
[ 0.033491361886262894, -0.0031478675082325935, -0.004715601913630962, -0.021773094311356544, -0.007129414472728968, -0.06441636383533478, -0.02610393613576889, 0.028599286451935768, -0.08031067997217178, -0.021015644073486328, -0.03583158552646637, -0.014841572381556034, 0.050123367458581924,...
<p>I am calculating this example at the moment. Are my calculations right?</p> <p>The random variable $Y$ has a mean of 15 and a variance of 9. $Z = 1/3 (Y − 15)$. Show that $Z$ has variance $1$.</p> <p>$Z = \frac13 (Y − 15)$ $, \newcommand{\stdev}{\mathrm{stdev}}\stdev(Y)=3$</p> <p>$$\stdev(Z)=\frac13 (Y − 15) = \...
g37682
[ 0.031155019998550415, 0.0008791399886831641, -0.03474918752908707, -0.011165881529450417, 0.05253467336297035, -0.002353265415877104, 0.06834221631288528, -0.04133260250091553, 0.01817135699093342, -0.02524360828101635, -0.017254754900932312, 0.0661994069814682, -0.05226645991206169, 0.030...
<p>I am applying a MAP log-likelihood approach in order to fit a Markov mixture model, where objective function to be maximized is given by the formula:</p> <p>$$ L(X|\Theta _K)=\sum_{i=1}^{n}f(X_i|\Theta_K)+\sum_{j=1}^{K}\sum_{n=0}^{M}\log p(\theta_n^{j}|a_n^{j}) $$</p> <p>where the second argument is a sum of Diric...
g63906
[ -0.025441501289606094, -0.043972697108983994, 0.00792404729872942, 0.00801437720656395, -0.01761133037507534, -0.02276523783802986, 0.04597349837422371, 0.01467861607670784, -0.02733331359922886, -0.006887876894325018, -0.04404042661190033, 0.03029964305460453, 0.05811109021306038, 0.05316...
<p>Suppose we have case-control data, where cases have some disease ($Y$) and controls don't and we are interested in the association of some other variable(s) ($X$). I know that in this scenario we cannot use the disease as the response variable because of the experimental design (the marginal distribution of disease ...
g21792
[ -0.013872633688151836, 0.007266692817211151, 0.0103260213509202, -0.024845989421010017, -0.017105134204030037, -0.029328109696507454, -0.01265112217515707, -0.006379723083227873, 0.007198203820735216, -0.05256066098809242, 0.04349612072110176, 0.007149977143853903, 0.02879844419658184, 0.0...
<p>I am attempting to use <code>MuMIn</code> to run a model selection analysis on a mixed model fitted using <code>lme4</code>. </p> <p>Because this model is fit using restricted maximum likelihood (REML), I am confused as to whether I can use an automated model selection approach such as that implemented in <code>Mu...
g63907
[ 0.0066378153860569, -0.0766565129160881, 0.03231973946094513, -0.00575136998668313, 0.01446459349244833, -0.0012186338426545262, 0.007879534736275673, 0.023438120260834694, -0.025223897770047188, 0.018225789070129395, -0.020869571715593338, -0.04648594185709953, 0.041139595210552216, -0.00...
<p>Goldman Sachs decided to apply their brains to predicting the winner of the World Soccer cup. They built a statistical model analyzing past winners. </p> <p>I read about it <a href="http://www.washingtonpost.com/blogs/wonkblog/wp/2014/05/28/can-goldmans-economists-predict-who-will-win-the-world-cup/" rel="nofollow"...
g21793
[ -0.012988392263650894, 0.03810330480337143, 0.006215929985046387, 0.0003407330368645489, -0.002437141491100192, -0.0027030364144593477, 0.04488281533122063, 0.02476847544312477, -0.060574088245630264, -0.0032242503948509693, 0.02135305479168892, -0.03605422377586365, 0.02627442218363285, -...
<p>A user interacts with X number of features before they go on to convert. How do I determine which features, <strong>and in what order</strong>, is the most common path to conversion? </p> <p>For example, if I was doing this analysis for Amazon I would have a "viewed product page" feature and an "add to wishlist" ...
g11266
[ 0.007207767106592655, -0.004160032141953707, 0.007920309901237488, -0.023646561428904533, 0.026869826018810272, -0.11451631039381027, 0.0218647588044405, 0.03225233405828476, -0.04603128880262375, -0.04204528406262398, 0.023484818637371063, -0.026300938799977303, 0.08801847696304321, 0.029...
<p>Suppose that my prior estimate for the bias of a coin is split evenly between a beta distribution (Theta,20,10) and a beta distribution (Theta,20,20), with Theta indicating the probability of tossing heads. Hence my prior is 0.5*Beta(20,10)+0.5*Beta(20,20). Assume that i observe that among 30 coin tosses i get 20 he...
g63908
[ 0.014746480621397495, -0.043732915073633194, -0.026074927300214767, -0.12467464059591293, 0.03187672421336174, -0.011531295254826546, 0.012029779143631458, -0.0005851931637153029, -0.06965859234333038, -0.009264085441827774, -0.0816362127661705, 0.0805906355381012, 0.01089349016547203, 0.0...
<p>Note: Case is n>>p</p> <p>I am reading Elements of Statistical Learning and there are various mentions about the "right" way to do cross validation( e.g. page 60, page 245). Specifically, my question is how to evaluate the final model (without a separate test set) using k-fold CV or bootstrapping when there has bee...
g63909
[ 0.012663458473980427, -0.025664130225777626, 0.0288699883967638, 0.040432557463645935, 0.04043034836649895, -0.0006084879278205335, 0.03880607336759567, 0.04283979907631874, -0.031654514372348785, 0.021022116765379906, -0.008331464603543282, 0.019878428429365158, 0.07485891133546829, 0.026...
<p>I am trying to reproduce the anova table for a 2x2 cross-over design. I used the data listed in tables 2.1 and 2.2 of the "Design and Analysis of cross-over trials" book, by Jones and Kenward. I am giving all the code so that you can reproduce the calculations. </p> <pre><code>g1AB &lt;- read.table(textConnecti...
g41223
[ -0.012822353281080723, -0.033393725752830505, 0.005516182165592909, -0.03036997839808464, -0.033646270632743835, 0.023780498653650284, 0.06791737675666809, -0.0007585556013509631, -0.059175509959459305, 0.04784108325839043, -0.00611049123108387, 0.05417473241686821, 0.02041531167924404, 0....
<p>Assuming the following model (Fir instant, received signal of a communication / RADAR system):</p> <p>$$ x[n] = \alpha s[n] + w[n] $$</p> <p>Where:</p> <ul> <li>$ s[n] $ is a known signal of length $ L $ and known energy $ p = \sum_{n=0}^{L-1} {s}^{2}[n] $.</li> <li>$ \alpha $ is unknown attenuation factor. Thoug...
g15787
[ 0.009910927154123783, -0.0887434259057045, -0.021895205602049828, -0.02856391854584217, 0.01182758342474699, -0.0009407063480466604, -0.006648678332567215, 0.022372137755155563, -0.029825538396835327, 0.021163051947951317, -0.026580851525068283, 0.010617111809551716, 0.01452931109815836, 0...
<p>I found this book "Statistical methods in atmospheric sciences" by Daniel Wilks in the library. Do you think it is good for learning statistical methods in general? The examples are as you might know or expect, from atmospheric sciences but discussion about the statistical methods is quite good. </p>
g63910
[ 0.04608709365129471, -0.03860337659716606, 0.032165929675102234, -0.011485179886221886, -0.010744061321020126, -0.007166552823036909, -0.00850649829953909, 0.0014901269460096955, 0.020170334726572037, -0.01610543206334114, 0.040742602199316025, 0.006243342533707619, 0.08826809376478195, 0....
<p>Okay, I'm aware of the fact that Gosset came up with <em>t</em> distribution, but what is the etymology of "t". How did "t" end up in t-test and t distribution?</p>
g41225
[ 0.05376339703798294, 0.05216272547841072, -0.02263747528195381, -0.0835706815123558, 0.03709026798605919, 0.019195212051272392, 0.0011110214982181787, 0.03028969280421734, -0.005550161004066467, 0.013783644884824753, -0.0688784122467041, -0.050305482000112534, 0.10790299624204636, -0.01311...
<p>I have preformed multiple tests and now have a list of all the calculated P-Values (~30K^2 values). I have a reason to believe my tests are somehow dependent.</p> <p>I would like to analyze the results and correct the p-values.</p> <p>Unfortunately, I only have very basic knowledge in statistics. From the little I...
g63911
[ -0.007184048183262348, -0.05276640132069588, -0.006438746117055416, -0.001194468466565013, -0.014782639220356941, -0.04335171356797218, 0.058316707611083984, -0.022772127762436867, -0.060108039528131485, -0.022319044917821884, -0.02790939062833786, -0.011453667655587196, 0.028732046484947205...
<p>Having a map such as:<br> <img src="http://i.stack.imgur.com/0NLWV.png" alt="enter image description here"><br> <strong>How to find major directions of variation</strong> i.e., for the example given here: north-east--south-west? in an elegant, quick and clean way? Any ideas are more than welcome.</p>
g63912
[ -0.03846513852477074, -0.02686326950788498, -0.03148133307695389, 0.015477679669857025, -0.00793418101966381, -0.029014600440859795, 0.011805937625467777, -0.015507674776017666, 0.029513465240597725, -0.02137523703277111, 0.035974569618701935, -0.014578045345842838, 0.13130532205104828, 0....
<p>I've been given a set of 20 Likert-items (ranging from 1-5, sample size n = 299) within the field of organizational research. The items are intended to measure a latent concept which is multidimensional, multifaceted and heterogenous in it's very nature. The goal is to create a scale(s) which can be nicely used to a...
g63913
[ 0.024580268189311028, -0.009903902187943459, -0.022780628874897957, -0.1002795472741127, 0.022746998816728592, -0.009731775149703026, 0.01038587000221014, -0.013741137459874153, -0.0333721823990345, 0.0023060154635459185, 0.0013754412066191435, -0.027713049203157425, 0.03220141679048538, 0...
<p>I have a light curve, that is photon count rate versus time, of an astronomical object. These data are periodic, since the source signal is periodic. I can fold the data with the period and obtain an average profile.</p> <p>At this point, I want to check whether the single profiles are statistically different from ...
g138
[ 0.0167376846075058, -0.04554366692900658, 0.011306139640510082, -0.03126731514930725, -0.007197485771030188, -0.04153745248913765, 0.05709809809923172, 0.00853401143103838, -0.004958722274750471, 0.016690511256456375, 0.05207103490829468, 0.03472944349050522, 0.045988138765096664, 0.035903...
<p>How does one tell if a dataset is missing data at random? I've been reading up on how to impute missing values, and was wondering what techniques can be used to tell if data is really missing at random or systematically.</p>
g63914
[ 0.008786010555922985, -0.0338277630507946, 0.0026899799704551697, -0.0576862208545208, 0.0054702796041965485, 0.0018111587269231677, 0.008288678713142872, 0.027781276032328606, -0.009633421897888184, -0.008885515853762627, 0.011354275047779083, 0.00043211490265093744, 0.05219259858131409, ...
<p>I have a simple model without interaction and it stated significant effect for all the explanatory variables (continuous variable rok and categorical variables obdobi (levels hn and nehn) and kraj:</p> <pre><code>Call: glm(formula = cbind(ml, ad) ~ rok + obdobi + kraj, family = "quasibinomial") Deviance Residuals:...
g63915
[ -0.046142540872097015, -0.03834555298089981, -0.019136544317007065, 0.03808344155550003, 0.06729817390441895, 0.02258213236927986, 0.07081186026334763, 0.003600123804062605, -0.015687718987464905, 0.013834713026881218, -0.07366221398115158, 0.048747554421424866, 0.04837292432785034, 0.0006...
<p>I am analysing the effect of density (categorical), gonad mass (continuous) and temperature (continuous) on the percentage of acini spawning in a gonad. My replicate unit is a scallop.</p> <p>As my response variable is a percentage, and I have many zeros, I was wondering if a zero inflated Poisson regression would ...
g63916
[ -0.002850273158401251, 0.034578949213027954, -0.008161641657352448, -0.059897761791944504, -0.00924190878868103, 0.009922620840370655, -0.009016379714012146, 0.03714733570814133, -0.00851503200829029, -0.006124469451606274, -0.025077417492866516, 0.0058230385184288025, 0.025949079543352127, ...
<p>when I used LDA model in my project, the result topic terms vary with the random seed. how to solve this problem ? thanks</p>
g4421
[ 0.010046936571598053, 0.031524136662483215, 0.025261372327804565, -0.10302767157554626, 0.006309257820248604, -0.009095183573663235, -0.04451071470975876, 0.002195717068389058, -0.019935831427574158, -0.012398901395499706, -0.007591858971863985, -0.023213732987642288, 0.021380234509706497, ...
<p>For my PhD dissertation, I am offering a conceptual model on teacher professional development. My model has one mediator. I wonder if I can test the mediation through Baron and Kenny's procedure or bootstrap and then conduct structural equation modeling (SEM) analysis. Many say the first step (testing mediation) is ...
g63917
[ 0.019624652341008186, -0.005439241882413626, 0.010050258599221706, -0.02278473600745201, 0.06265728175640106, 0.004455700516700745, 0.04860066995024681, 0.019055841490626335, -0.02169071137905121, 0.0029657927807420492, 0.0423179566860199, -0.05691733956336975, 0.065334752202034, 0.0466542...
<p>Has anyone worked with semi parametric methods to estimate parameters with binary outcome? Examples are like Cosslett (1983) or Ichimura or Klein-Spady. In other words we are looking for semi parametric methods instead of probit/logit.</p> <p>I was wondering if anyone has written R code or Matlab code in this regar...
g63918
[ -0.01005026325583458, -0.03017217107117176, 0.03631531819701195, -0.0195561945438385, -0.029765846207737923, -0.03379708528518677, -0.0022564325481653214, -0.006501933094114065, -0.06350190937519073, 0.014781850390136242, -0.049713533371686935, -0.026334375143051147, 0.022098403424024582, ...
<p>I have two methods which are being used to estimate a specific signal. I have a ground truth measurement of this signal and these two methods are using noisy data to estimate this signal. This signal is computed using a sliding window, meaning that two consecutive estimates are not independent (the window is 30 seco...
g63919
[ 0.0350179448723793, -0.01370859146118164, 0.0064726704731583595, -0.007601569406688213, -0.037715159356594086, -0.024675702676177025, 0.036706455051898956, -0.00227596377953887, -0.041743870824575424, -0.01989934593439102, 0.008612384088337421, 0.037052497267723083, -0.040253713726997375, ...
<p>I have ran this model in R:</p> <pre><code>model &lt;- lm(mpg ~ hp + drat + disp, data=mtcars) </code></pre> <p>And I have visualised this model using <code>effects</code> package in <code>R</code>:</p> <pre><code>library(effects) model_effects &lt;- effect("hp", model, list(drat=mean(mtcars$drat), disp = mean(mt...
g63920
[ -0.026013098657131195, -0.07179363071918488, -0.02425554022192955, -0.044159308075904846, 0.0668286457657814, 0.021114490926265717, -0.030928941443562508, 0.003918972332030535, -0.07073917239904404, -0.028385814279317856, 0.023410852998495102, 0.04410190135240555, 0.05246979370713234, 0.00...
<p>For $J$ units of observations my basic model contains latent variables $\theta_j, j = 1, ..., J$ identified by the marginal assumption $\theta \sim N(0,1)$. The latent variables are connected to a vector of observed binary variables $(x_{j1},...,x_{jI})$ via a binomial model and the logistic link:</p> <p>$logit(P(...
g63921
[ -0.0072432211600244045, -0.03003426268696785, 0.014991460368037224, -0.059365905821323395, -0.022829577326774597, -0.057792361825704575, 0.07057517021894455, 0.01641877554357052, -0.030672330409288406, -0.00350728421472013, -0.011045098304748535, 0.022064194083213806, 0.03553174436092377, ...
<p>I am running regression analyses in matlab with glmfit and calculate significance of contrasts of parameter estimates by using standard errors. Somehow however, the results I get are not consistent with SPSS results, so I'm wondering if I am doing something wrong.</p> <p>Hence 2 Questions:</p> <ol> <li>Can somebod...
g63922
[ 0.03297606483101845, -0.05010225996375084, -0.008221451193094254, 0.0042309844866395, 0.05718284845352173, -0.02452346310019493, 0.01687786355614662, 0.034847598522901535, -0.04912269115447998, 0.0043141222558915615, -0.025855528190732002, 0.021806132048368454, 0.02281656675040722, 0.02863...
<p>I'm working through a stats textbook and have a question of the form:</p> <blockquote> <p>You will perform a significance test of $H_0: μ=25$ based on an SRS of $n=25$. Assume $σ=5$.</p> </blockquote> <p>I'm stuck on the 'equals' part of $μ=25$. Given that we're working in the set of reals, isn't the probability...
g21809
[ 0.015233759768307209, 0.007006722968071699, -0.012836134061217308, -0.017218582332134247, -0.022914906963706017, -0.01132856123149395, 0.0388607420027256, 0.03323473036289215, -0.0708933100104332, -0.04010763764381409, -0.034834615886211395, 0.049577970057725906, 0.03489341586828232, -0.01...
<p>I've recently run into an issue where I am trying to test for a statistical difference between two groups, where each element of a group is itself a data object. For any pair of objects, I can calculate a similarity score. I want to check if the groups of objects are statistically different based on those similari...
g63923
[ -0.02582317218184471, -0.019021160900592804, 0.027887437492609024, -0.02388797514140606, -0.017310230061411858, -0.0026283899787813425, 0.014321615919470787, 0.005697520915418863, -0.043187692761421204, -0.020935606211423874, 0.048968736082315445, 0.0070692007429897785, 0.009722201153635979,...
<p>I have an experiment with 3 equal group sizes and 4 measures. I think the simple null hypothesis is that the three groups will be the same. Most people, however, believe that group A should do best in measure 1, group B should do best in measure 2, group 3 should do best in measure C, and they should all be the same...
g63924
[ -0.01172657124698162, -0.025164160877466202, -0.0007573629845865071, -0.043935082852840424, -0.029249893501400948, -0.027980774641036987, -0.031668223440647125, 0.0010435094591230154, -0.05842670798301697, -0.05381055921316147, 0.07637421041727066, -0.00344354216940701, -0.04114643856883049,...
<p>Does somebody have an idea to find the following expectation:</p> <p>$$E(X\log(a+bX)),$$ How can I proceed, can we go like this:</p> <p>$$=E(X)E[\log(a+bX)],$$if yes then what?</p>
g38730
[ -0.022497395053505898, 0.033185992389917374, -0.012039942666888237, -0.02082831598818302, 0.017467355355620384, -0.050234533846378326, -0.010936002247035503, 0.030317993834614754, -0.03806832432746887, -0.05813322961330414, -0.008122900500893593, 0.06253749132156372, 0.02338486909866333, -...
<p>Trying to perform a Bayesian ordered logistic regression in R where age is my outcome variable. I have installed the ARM package but I am unsure how to go about generating my model in R. I also need to perform an ordered logistic in R using a Frequentist approach and use my model to generate predictive probabilities...
g21812
[ -0.035891342908144, -0.03515035659074783, 0.005913261324167252, -0.01300286129117012, -0.028524262830615044, -0.04073910042643547, 0.00467991828918457, 0.02029138058423996, -0.022104423493146896, -0.04904535412788391, 0.014873920939862728, -0.020545251667499542, 0.009859954006969929, 0.031...
<p>I know that one of the advantages of mixed models is that they allow to specify variance-covariance matrix for the data (compound symmetry, autoregressive, unstructured, etc.) However, <code>lmer</code> function in R does not allow for easy specification of this matrix. Does anyone know what structure <code>lmer</co...
g63925
[ -0.024245308712124825, -0.059750061482191086, -0.02115899696946144, -0.04287949949502945, 0.023708608001470566, -0.007330937776714563, 0.074679434299469, 0.002019087318331003, -0.04584575816988945, -0.061388783156871796, 0.01897730492055416, -0.03673573583364487, 0.027345700189471245, 0.00...
<p>I have a question about <code>plm</code> package. </p> <p>My code is:</p> <pre><code>fixedmodel &lt;- plm(formula=Inv_ret~Firm.size+leverage+Risk+Liquidity+Equity, data=datanewp, model="within") </code></pre> <p>In the <code>plm vignette</code> the authors write: </p> <blockquote> <p>This is ...
g63926
[ 0.005680238828063011, -0.06740248203277588, -0.0063105300068855286, -0.054743386805057526, 0.041768062859773636, -0.0355905145406723, -0.04754023253917694, 0.043465618044137955, -0.02120785601437092, -0.006468803156167269, -0.00042624716297723353, 0.09215611964464188, -0.008185800164937973, ...
<p>Analyzing educational datasets we have samples of children from samples of class in samples of schools - we have sampling weights, so I use the survey package e.g. to do a linear model. But this kind of design also requires looking at the mixed effects. But this isn’t possible using the survey package. I can do this...
g63927
[ -0.011353468522429466, -0.012348218820989132, 0.0056307013146579266, -0.04256721958518028, 0.03653235360980034, 0.04386995732784271, -0.02614745683968067, 0.006550721824169159, 0.005059387069195509, -0.05181995406746864, 0.06569235026836395, -0.05831455439329147, 0.045312728732824326, 0.04...
<p>A simulation gives the population numbers for every species in the domain per frame. These vary over time and can be quite noisy, is there a way of analysing the data algorithmically without drawing a graph whether or not these values oscillate?</p>
g45306
[ 0.03195873275399208, 0.04308192804455757, -0.003592523280531168, -0.05326442793011665, 0.015704911202192307, -0.051350004971027374, 0.035847775638103485, -0.009729310870170593, -0.023152371868491173, 0.027881242334842682, -0.0024757867213338614, -0.009991939179599285, 0.05231770500540733, ...
<p>I'm having a problem to predict hits from original features. I tried using LDA on original matrix but the thing is that probability of getting a hit vs non-hit is 95% vs 5%. That said after running LDA I get true positive rate of 5% and true negative rate of 96%. Now, my understanding of LDA makes me think that when...
g63928
[ 0.03000394068658352, -0.039848241955041885, 0.00026138947578147054, -0.010264021344482899, 0.0035097291693091393, -0.0816309005022049, 0.059575702995061874, 0.028408590704202652, -0.021867983043193817, -0.05638501048088074, 0.04351726919412613, 0.05033276975154877, 0.06809913367033005, 0.0...
<p>I'm really new to statistics so sorry in advance if this question does not make sense.</p> <p><strong>Background:</strong></p> <p>I'm trying to learn about hidden Markov models and they seem interesting but I was wondering about the probabilities they use to generate their predictions. Most of the information I ha...
g63929
[ 0.038412731140851974, -0.012233504094183445, 0.013343112543225288, 0.01728689670562744, -0.012919367291033268, -0.05979686975479126, -0.010380825027823448, 0.07661528885364532, 0.029588516801595688, -0.0032241304870694876, -0.022861270233988762, 0.011614929884672165, 0.054873447865247726, ...
<p>What is the cleanest, easiest way to explain someone the concept of variance? What does it intuitively mean? If one is to explain this to their mom or child how would one go about it?</p> <p>It's a concept that I have difficulty in articulating - especially when relating variance to risk. I understand it mathematic...
g63930
[ 0.022844191640615463, 0.06496474146842957, -0.029874170199036598, -0.01809750497341156, -0.002002001740038395, -0.0013134479522705078, 0.0291953943669796, -0.030209707096219063, 0.005592007655650377, -0.023728739470243454, -0.016127461567521095, 0.00929805263876915, 0.036290768533945084, -...
<p>Is there an easy/standard way of sampling from a density estimated by kNN? I've searched online but I can't seem to find how to do this. Any links or methods pointing me in the right direction would be much appreciated. Just to clarify, I would want to be able to sample points not (necessarily) in my dataset from th...
g21818
[ 0.014637282118201256, -0.026382146403193474, 0.0234028622508049, -0.026869136840105057, -0.07812079042196274, 0.007669249549508095, -0.07889971137046814, 0.029355516657233238, -0.04067433625459671, -0.015671510249376297, 0.025934511795639992, -0.018231408670544624, 0.04741974174976349, 0.0...
<p>In time series analyses, I have used multi-level or random/mixed effects to deal with auto-correlation issues (i.e., observations are clustered within individuals over time) and added controls are added for some specification of time and for shocks of interest. ARMA/ARIMA seem designed to address similar issues.</p>...
g63931
[ 0.02860930934548378, -0.03790909796953201, 0.011646310798823833, 0.010586019605398178, 0.0031145955435931683, 0.015324939042329788, 0.07193424552679062, -0.006466653663665056, 0.022333970293402672, 0.00740164564922452, 0.03230365365743637, -0.006786552257835865, 0.05600717291235924, -0.000...
<p>I would like to employ count data as covariates while fitting a logistic regression model. My question is:</p> <ul> <li><strong>Do I violate any assumption of the logistic (and, more in general, of the generalized linear) models by employing count, non-negative integer variables as independent variables?</strong></...
g11271
[ 0.034746963530778885, -0.023076578974723816, 0.02196679264307022, -0.04352738335728645, -0.024482950568199158, 0.010735130868852139, -0.010197337716817856, 0.011392388492822647, -0.06153835356235504, -0.004763712640851736, 0.03810952976346016, 0.002825032686814666, -0.020325135439634323, 0...
<p>Does the order of the items in a questionnaire matter? If so, how do I know which item should go first, second, third etc. when devising a questionnaire? </p> <p>Thanks</p>
g63932
[ 0.008491492830216885, 0.012942046858370304, -0.009744135662913322, 0.007423718925565481, 0.08514416962862015, 0.01122549269348383, 0.0029903720133006573, 0.03683149814605713, -0.011342216283082962, -0.040371123701334, -0.0044563161209225655, -0.022975897416472435, 0.005251044873148203, -0....
<p>I have a $n \times p$ matrix $A$ where $n$ is the number of observables and $p$ is the number of observations. $n \gg p$ </p> <p>In my code, I have done $[E,V] \,=\, eig(A)$ and doing a least squares operation on the eigenvector matrix $V$, which is $p \times p$. This is using the <code>mldivide</code> operator in ...
g63933
[ -0.0006690923473797739, 0.0020024317782372236, 0.0032806959934532642, -0.0619330108165741, 0.03738681226968765, -0.038183148950338364, 0.006275332532823086, 0.00672624446451664, 0.01335328072309494, -0.02233411744236946, 0.03846065327525139, 0.010214106179773808, 0.0442560538649559, 0.0798...
<p>We consider the following GARCH(1, 1) model:</p> <p>$y_t = h_t \epsilon_t$ where $(\epsilon_t)_{t \in \{1, \dots, n\}}$ are i.i.d. random variables with mean 0 and standard deviation 1. </p> <p>$h_t = \omega + \alpha \epsilon_{t-1}^2 + \beta h_{t-1}^2$</p> <p>A standard way of estimating the parameters of such a ...
g63934
[ -0.004629271570593119, -0.04972795397043228, -0.010319948196411133, -0.021782556548714638, 0.08712366968393326, -0.00931205227971077, 0.03740403428673744, 0.03309696167707443, -0.03069697692990303, 0.04320124536752701, -0.039859503507614136, 0.015743279829621315, 0.04437331482768059, 0.066...
<p>I noticed that there is a definition of the p-value in my textbook. It is defined as the p-value of a composite null hypothesis and it says the following:</p> <p><img src="http://i.stack.imgur.com/7Y4yL.jpg" alt="enter image description here"></p> <p>I have no idea why it is written with a supremum. I've spent hou...
g49687
[ 0.005651244428008795, 0.07764648646116257, -0.0013793105026707053, -0.0653165653347969, 0.0192781500518322, -0.021643225103616714, -0.009243813343346119, 0.05380766838788986, -0.020292144268751144, -0.042697593569755554, -0.012415130622684956, -0.03247940540313721, 0.048628807067871094, 0....
<p>I have 3 visualization techniques (e.g., PC, NL and Map). I wanted to evaluate user performance (Time and Accuracy) for these three visualizations methods. I have 9 tasks for participants to perform. These 9 tasks categorized into 3 groups such group 1 , group 2 and Group 3 (each groups contains 3 tasks). I ran betw...
g21821
[ 0.004779875744134188, -0.004505494609475136, 0.019773036241531372, -0.017372973263263702, -0.009889624081552029, -0.0022803598549216986, 0.0529223307967186, -0.0033946933690458536, -0.020498964935541153, 0.03482916206121445, 0.0055901589803397655, -0.004005423281341791, 0.02700062468647957, ...
<p>I'm having a tough time to understand concepts of Regression Analysis and Multivariate Analysis. I'm following the books of Johnston and Anderson, but some video lectures would help me learn it faster. Could anyone suggest me some videos of the same? Thanks.</p>
g63935
[ 0.003944356460124254, -0.021918099373579025, -0.015196433290839195, -0.0010337353451177478, 0.012314689345657825, -0.06082052364945412, 0.06160938739776611, 0.0014875836204737425, 0.009120051749050617, -0.004899760242551565, 0.00405711168423295, 0.011541138403117657, 0.027311552315950394, ...
<p>I am trying to express a hypothesis to test for the following claim: </p> <blockquote> <p>A biologist is presented with the data that shows an increase in the average number of bacterias, though he suspects there was no actual change.</p> </blockquote> <p>I came up with the following:</p> <ul> <li>$H_0:\; \...
g204
[ 0.059375643730163574, 0.007244524545967579, 0.0055959331803023815, -0.032598160207271576, 0.030966948717832565, -0.047911763191223145, -0.0006929457886144519, 0.04865230992436409, -0.021039245650172234, -0.02648378349840641, 0.008906588889658451, 0.0764368548989296, 0.03735896572470665, 0....
<p>I understand this to be a binomial distribution: There are 100 balls in a bucket. 10 are red, 90 are blue. I select a ball at random and then replace it in the bucket, and I do this 20 times. I then calculate the probability that none of the selected balls were red.</p> <p>But what if I don't put the ball back in t...
g21823
[ -0.007497536949813366, 0.02097390778362751, 0.021909335628151894, -0.04402686282992363, 0.03576720878481865, 0.005730818025767803, 0.03147105872631073, 0.045964520424604416, -0.00710560055449605, -0.003817070508375764, -0.09351084381341934, 0.02498294599354267, 0.03255779668688774, -0.0082...
<p>I am new to R and using <code>rpart</code> for building a regression tree for my data.I wanted to use all the input variables for building the tree, but the rpart method using only a couple of inputs as shown below. As we can see, I have provided 10 inputs, but rpart used only two inputs. Please let me know how can ...
g63936
[ 0.0349627248942852, -0.020640093833208084, 0.008556216023862362, -0.027165932580828667, 0.021694280207157135, -0.018571926280856133, 0.030447080731391907, 0.041356924921274185, -0.02105601318180561, -0.018970709294080734, -0.013248946517705917, 0.011244362220168114, -0.03485221788287163, 0...
<p>I'm trying to estimate 4 maximum likelihood estimators on a data set containing two variables: <code>x</code> and <code>y</code>. When using the following code:</p> <pre><code> logLikGrad &lt;- function(param) { b0 &lt;- param[1] b1 &lt;- param[2] sigma &lt;- param[3] landa &lt;- param[4] log...
g21825
[ 0.022940976545214653, -0.04975855350494385, -0.004108035936951637, -0.03713587671518326, -0.014746331609785557, -0.042532261461019516, -0.012516752816736698, -0.012620160356163979, -0.05807396024465561, 0.009004180319607258, -0.06062844395637512, 0.039529576897621155, 0.022411568090319633, ...
<h3>Context</h3> <p>I want to set the scene before somewhat expanding on the question. </p> <p>I have longitudinal data, measurements taken on subjects approximately every 3 months, primary outcome is numeric (as in continuous to 1dp) in the range 5 to 14 with the bulk (of all data points) being between 7 and 10. If ...
g63937
[ -0.008393795229494572, -0.008855393156409264, -0.011633787304162979, -0.05022358521819115, -0.02861371450126171, -0.02370910532772541, 0.062091730535030365, -0.01310032233595848, -0.05930972099304199, -0.037125397473573685, 0.049403607845306396, 0.03579419106245041, 0.07684819400310516, -0...
<p>Consider $\boldsymbol{x}= [x_1,x_2,...x_n]$ and $\boldsymbol{y}= [y_1,y_2,...y_n]$ to be two multivariate Gaussians with an isotropic diagonal variance structure and uninformative priors so that:</p> <p>$p(x_i,\mu_{x_i},\sigma_x) = \frac{e^{\frac{-(x_i-\mu_{x_i})^2}{2\sigma_x^2}}}{\sqrt{2\pi \sigma_x}}$</p> <p>and...
g45358
[ -0.021084560081362724, -0.06425748020410538, -0.02082647942006588, -0.0660703256726265, -0.010762265883386135, -0.0009340663673356175, 0.061530739068984985, -0.013576129451394081, -0.01452920027077198, 0.017716221511363983, -0.0049121486954391, 0.07522454857826233, -0.0024804435670375824, ...
<p>I'm trying to do a repeated measure ANOVA analysis on the 5 NEO-FFI factors (Neuroticism, Extraversion, Openness to experience, Agreeableness and Conscientiousness). Sujest are tested only once, so I just want to compare the factors.</p> <p>My question is how do I do the normality test? I mean, what is the dependen...
g63938
[ -0.02309763990342617, 0.029023990035057068, -0.019777819514274597, 0.002171203726902604, -0.03912976756691933, 0.0035079163499176502, 0.04217478632926941, -0.0048292940482497215, -0.01262765284627676, -0.014312788844108582, -0.04616596922278404, 0.04542648792266846, -0.02361121028661728, 0...
<p>I'm working on a binary classification problem, with about 1000 binary features in total. The problem is that for each datapoint, I only know the values of a small subset of the features (around 10-50), and the features in this subset are pretty much random.</p> <p>What's a good way to deal with the problem of the ...
g63939
[ 0.03742665797472, -0.014610354788601398, 0.011300072073936462, -0.032538361847400665, 0.005668115336447954, -0.01429755985736847, -0.016334032639861107, 0.022298697382211685, -0.024191856384277344, 0.0001362901966786012, 0.00821132492274046, 0.0296203400939703, 0.03709772601723671, 0.07130...
<p>Is there some way in R to output not only the main effects and the interactions of the two factors using an aov() like function but also the variance of the subject within a non-repeated factor?</p> <p>For example, I have an experiment dealing with the factor Dose(the between subject variable - non repeated) and Ti...
g21827
[ -0.006608922500163317, -0.04256026819348335, -0.013887330889701843, -0.045989785343408585, -0.014743941836059093, -0.03572725132107735, 0.031898871064186096, -0.0507945641875267, -0.009118594229221344, 0.011034494265913963, 0.008655634708702564, 0.03167170286178589, 0.0107039175927639, -0....
<p>I am doing a time series analysis of sales data from a data warehouse. For that I want to use data grouped by the week of year. My problem now is that e.g. for week 1/2014, I have an outlier as this week only has two work days here in Austria.</p> <p>Is such a thing a problem? If yes, what is considered as good pra...
g491
[ -0.016515059396624565, 0.014868412166833878, 0.0034912910778075457, -0.06184443086385727, -0.04493028670549393, -0.01831049658358097, 0.04078314080834389, -0.013461705297231674, -0.04635313153266907, 0.003937034402042627, 0.04511400684714317, 0.009895307943224907, 0.016375405713915825, -0....
<p>This problem is basically the classic asset selling problem but with imperfect state information.</p> <p>In the classical problem, we have an asset that we wish to sell, we receive offers w(0) to w(N-1). If we accept the offer at a given period, we can invest that money with a certain rate of interest r > 0. We s...
g41269
[ 0.02001926116645336, 0.006416505668312311, -0.03529036045074463, 0.009397992864251137, -0.0064763217233121395, 0.0064749643206596375, -0.005186229478567839, -0.011435294523835182, -0.01898270472884178, 0.0324026457965374, 0.05439794808626175, 0.030840536579489708, 0.0014613529201596975, -0...
<p>I have a general question. What kind of noise is additive, and what about multiplicative noise? How to determine the nature of noise?</p> <p>Thanks a lot for your help.</p>
g63940
[ 0.028456080704927444, -0.006282057613134384, -0.023859115317463875, -0.00821624230593443, 0.03228744491934776, -0.03097105398774147, 0.038892894983291626, 0.04180414602160454, -0.02237582392990589, -0.029541829600930214, -0.06808947771787643, 0.03815320134162903, 0.03564717620611191, 0.089...
<p>If I have a sample of k successes and n-k failures, there are standard techniques (Agresti-Coull, Clopper, etc.) for finding a confidence interval of the probability of an individual success. What if I want to find a confidence interval for the probability of getting at least k' out of n' instead? Obviously it can...
g41271
[ -0.02843792550265789, 0.020148053765296936, -0.019281737506389618, 0.0435648113489151, -0.0783054530620575, 0.03181358054280281, -0.004082243889570236, -0.02934117428958416, -0.05993102118372917, -0.009594354778528214, -0.003820690792053938, 0.02448168396949768, 0.03473914414644241, -0.019...
<p>I am testing whether there is difference between the scores of 2 groups of 12 questions on a Likert-scale questionnaire. Each question from one group has a corresponding question in the other group (12 pairs altogether) and my hypothesis is that the first group of questions has a higher score than the second one(one...
g21832
[ -0.00014973129145801067, -0.0008564536110498011, 0.00581361586228013, -0.04646351560950279, 0.0007285959436558187, -0.034226056188344955, 0.010945781134068966, 0.010488216765224934, -0.02687816321849823, -0.006227856036275625, 0.05186937004327774, -0.01041868794709444, 0.026551859453320503, ...
<p>I'm examing the relationship of payout policy and cash-flow uncertainty. My research' s data is cross section data and I use Tobit model to test the impact of explanatory variables (cash-flow uncertainty) to dependent variables (payout policy), and Logit model to test the probability of paying dividends. So when I u...
g63941
[ 0.04659998416900635, 0.029590126127004623, 0.013231489807367325, -0.00857784878462553, 0.026124881580471992, 0.042173873633146286, 0.014995310455560684, -0.05170632526278496, -0.038583699613809586, 0.018140822649002075, 0.020711814984679222, 0.02901318110525608, 0.024924462661147118, -0.04...
<p>Suppose the following problem: I have $n$ models, $M_k$, each with parameters $\mathbf{\theta}_k$ for a data set $D$. There where previous observations of a subset of the parameters which are common to every model $M_k$ (i.e., I have well defined priors for a subset of the parameters $\theta_k$), so I performed an M...
g63942
[ 0.05129792541265488, -0.058989427983760834, 0.016279101371765137, -0.06596598029136658, -0.012060913257300854, -0.04405834525823593, 0.0037207480054348707, 0.014535622671246529, -0.0615188330411911, 0.0070882937870919704, 0.019961945712566376, -0.016881607472896576, 0.0792405754327774, 0.0...
<p>I was working in R packages <strong>nlme</strong> and <strong>lme4</strong>, trying to specify the models with multiple random effects. I found, that only <strong>nlme</strong> allows to specify the heterogeneous structure of the variance. Therefore, I got a model, where temperature (Y) depends on time (in hours), i...
g41274
[ -0.03333551064133644, -0.026398690417408943, -0.00399736687541008, -0.013372018933296204, 0.024601269513368607, 0.004164023790508509, -0.007097490597516298, -0.015979846939444542, -0.02515425905585289, -0.03388320282101631, -0.021815426647663116, 0.018608015030622482, 0.033414315432310104, ...
<p>I should show that the variance of the least squares estimator in the simple regression model $y_t = b x_t+u_t$ with the variables in deviation form is</p> <p>$\operatorname{Var}(\hat{b}) = \operatorname{E}[(\hat{b} - b)^2] = \sigma^2 / \sum(x_t^2)$</p> <p>($t$ is the time based indicator)</p> <p>I know that $\ha...
g63943
[ 0.007889943197369576, -0.0365152545273304, -0.020536568015813828, -0.010331496596336365, -0.0027821038383990526, -0.02859315648674965, 0.04960107058286667, 0.0017010230803862214, 0.04657424986362457, 0.00356843788176775, -0.07478777319192886, 0.06302409619092941, 0.034916266798973083, 0.01...
<p>How is the var/cov error matrix calculated by statistical analysis packages in practice?</p> <p>This idea is clear to me in theory. But not in practice. I mean, if I have a vector of random variables $\textbf{X}=(X_{1}, X_{2}, \ldots, X_{n})^\top$, I understand that the variance/covariance matrix $\Sigma$ will be g...
g476
[ -0.012157395482063293, -0.06410122662782669, -0.0017455912893638015, -0.010203209705650806, 0.025162938982248306, -0.025568148121237755, 0.03393423184752464, 0.028278915211558342, -0.012185458093881607, 0.003437291830778122, -0.009162654168903828, 0.026464473456144333, 0.039164189249277115, ...
<p>In statistics, there are methods that are named with "adaptive", such as "adaptive randomization" in experimental design, and "adaptive learning". What is the word that is opposite to "adaptive", and used in the opposite methods? Thanks!</p>
g63944
[ 0.005402801558375359, 0.011631987988948822, 0.011196305975317955, -0.042516518384218216, -0.010452577844262123, -0.0006698115612380207, -0.004590562079101801, -0.0031803532037883997, 0.02059418335556984, -0.014923671260476112, -0.03813667222857475, 0.017116323113441467, 0.05634688958525658, ...
<p>I am working on a project regarding the influence of temperature and time variables (weekday, weekend, month, season etc.) on the sales of a local bakery. The research goal is to be able to better predict bakery sales (in my city) and to save food in this way.</p> <p>What data do I have? I do have the data of all v...
g63945
[ 0.04172062873840332, -0.021236004307866096, -0.016703864559531212, -0.021042371168732643, -0.06469229608774185, -0.045840390026569366, 0.011640136130154133, 0.029868030920624733, -0.022732621058821678, -0.014531468972563744, 0.014794872142374516, 0.011032914742827415, 0.06286707520484924, ...
<p>I'm trying to understand confidence intervals but having some trouble. I've been doing some exercises I found online and I'm stuck on this question:</p> <p>I have been given a 95% confidence interval for a population proportion: (0.35, 0.40), a sample size of 200, and I need to find a 99% confidence interval. The me...
g63946
[ 0.06446073204278946, 0.008863822557032108, -0.008815472945570946, -0.009940597228705883, -0.05800487473607063, 0.07401314377784729, 0.005397529806941748, -0.011641591787338257, -0.01821582391858101, -0.0574171207845211, -0.023202501237392426, 0.006754434201866388, 0.020780449733138084, -0....
<p>In my master thesis I have drawn a few hypotheses. I have answered them all with linear regression. In these linear regressions, I took control variables into account. </p> <p>My question is: do I have to run a mediation analysis? Or is it also possible to report the regressions of all relations separately (for exa...
g63947
[ 0.022104017436504364, -0.05590159446001053, -0.012764175422489643, -0.05264647677540779, 0.019467992708086967, -0.039036400616168976, -0.01382450107485056, 0.04905907064676285, -0.005203050561249256, -0.06419013440608978, -0.006257656030356884, -0.009645557031035423, 0.03503139689564705, 0...
<p>I have a sample of 200 independent networks and I want to test the hypothesis that majority of vertices belong to one <a href="http://en.wikipedia.org/wiki/Giant_component" rel="nofollow">giant component</a>. I wonder what is the appropriate approach to do that.</p> <p>More formally, suppose we have two variables, ...
g41279
[ -0.014861040748655796, 0.020582398399710655, -0.01173587515950203, -0.017793113365769386, -0.019849378615617752, -0.04606035724282265, 0.04619001969695091, 0.017188381403684616, 0.003263532416895032, 0.013060414232313633, 0.0514972023665905, 0.06193718686699867, 0.008557218126952648, 0.000...
<p>I will be too happy help me find the exact value or a very tight exponential upper bound for: $$\sum_{k=1}^{N-1} \alpha^k \beta^{\frac{1}{N-k}}$$ where $0 \leq \alpha &lt; 1$, $\beta= \exp(-N^2\zeta)$ and $\zeta$ is a positive small value.</p> <p>Thanks a lot in advance.</p>
g63948
[ -0.03310537338256836, 0.029717354103922844, -0.03588828071951866, 0.019504019990563393, 0.011936376802623272, -0.016863705590367317, 0.02151329815387726, -0.008343289606273174, -0.045425716787576675, 0.0040496112778782845, -0.0501621849834919, 0.03439515084028244, -0.024834180250763893, 0....
<p>I have recently begun using the Structural Equations Modeling (SEM) Method of confirmatory factor analysis for a research endeavor in educational science. My question is, suppose I have two latent variables each with many of its own manifest variables. If I observe a covariance between the two latent variables (I'm ...
g21836
[ 0.015646686777472496, -0.053032416850328445, 0.00458249356597662, -0.06824807077646255, 0.0009397421963512897, 0.03103109635412693, 0.05631609261035919, 0.050351954996585846, 0.0023371800780296326, -0.0003726275754161179, -0.005596322473138571, 0.0020117629319429398, 0.009705734439194202, ...
<p>Let's assume I standardize my data in SPSS through converting them to z-values. Then I save my dataset and load it into AMOS to do some regressions. Now, the data is already standardized, but AMOS will give me two sets of regression coefficients, labeled as standardized and unstandardized.</p> <p>Does this mean tha...
g15998
[ 0.020995134487748146, -0.06326894462108612, -0.0074166771955788136, -0.08032672852277756, 0.01965353824198246, -0.028197046369314194, 0.022922297939658165, 0.054755665361881256, -0.019879531115293503, -0.06596951186656952, -0.06341709196567535, 0.031044313684105873, 0.08999554067850113, -0...
<p>I've met the following <em>randomized trace technique</em> in M. Seeger, “Low rank updates for the Cholesky decomposition,” University of California at Berkeley, Tech. Rep, 2007.</p> <p>$$\operatorname{tr}(\mathbf{A}) = {E[\mathbf{x}^T \mathbf{A} \mathbf{x}]}$$</p> <p>where $\mathbf{x} \sim N(\mathbf{0},\mathbf{I}...
g63949
[ -0.018971042707562447, 0.0011184638133272529, -0.044125162065029144, -0.017100585624575615, 0.03298777714371681, -0.03261832892894745, 0.04067980498075485, 0.04277867451310158, -0.0018592323176562786, -0.010675549507141113, -0.03226912021636963, 0.023195428773760796, 0.054972704499959946, ...
<p>I have a time series which is daily data for workdays only. There is an almost obvious seasonality comparing the plot of the raw data that appears at the end of each month. However, there are not the same number of workdays for every month. Some times a month has 20 or 21 workdays. Do you have any idea how to treat ...
g63950
[ -0.016556138172745705, -0.02786821313202381, 0.012574410997331142, -0.03412673994898796, -0.05588121339678764, -0.04855801537632942, 0.06318735331296921, -0.036497730761766434, -0.006829576566815376, -0.03228204697370529, 0.06383471190929413, 0.02348746731877327, 0.05986672639846802, 0.008...
<p>I have a sample of data which was generated from a continuous random variable X. And from the histogram I draw using R, I guess that maybe the distribution of X obeys a certain Gamma distribution. But I do not know the exact parameters of this Gamma distribution. </p> <p>My question is how to test whether the distr...
g63951
[ 0.039619140326976776, -0.06558462232351303, -0.01563858985900879, -0.06806306540966034, -0.009998113848268986, 0.023249110206961632, 0.015527371317148209, 0.0035509096924215555, -0.05906202271580696, -0.015882302075624466, -0.02361161820590496, -0.003314326284453273, 0.009314694441854954, ...
<p>It seems like a proposed study gets penalised if it doesn't also predict the direction of an effect. For instance, if I want to see the effect of a certain medication on happiness ratings, but do not predict whether I think they'll be decreasd or increased by that manipulation. Why is it considered unsound to run an...
g16542
[ 0.03278881311416626, 0.05701221898198128, -0.0016144297551363707, -0.030536193400621414, 0.040411144495010376, -0.03608236461877823, 0.045547258108854294, 0.04131467640399933, -0.030556147918105125, -0.06364739686250687, 0.06874990463256836, 0.016100836917757988, 0.06658757477998734, 0.043...
<p>Possible warning: basic question ahead.</p> <p>Let's say that I model whether I wear red shoes depending on the weather. Red shoes, which is my dependent variable, is a dichotomous variable as I either wear them or don't. Weather is a variable with five 'levels' and I'm trying to find the probability that I will we...
g63952
[ -0.02747952565550804, 0.009595151990652084, -0.016821712255477905, 0.0016700902488082647, -0.009545003063976765, -0.05463850870728493, 0.05025218799710274, -0.017109164968132973, -0.03772036358714104, -0.036383114755153656, -0.045458365231752396, -0.043750762939453125, 0.05536502227187157, ...
<p>The question I'm referring to comes from Stack Overflow: <a href="http://stackoverflow.com/questions/8723652/estimating-number-of-results-in-google-app-engine-query">http://stackoverflow.com/questions/8723652/estimating-number-of-results-in-google-app-engine-query</a></p> <p><em>In short:</em> <strong>With $N$ ord...
g98
[ -0.02805965766310692, -0.0050897058099508286, -0.023253217339515686, -0.03492734208703041, 0.005470103584229946, -0.0373370423913002, -0.022572234272956848, 0.031230295076966286, -0.054142095148563385, -0.029461130499839783, -0.01856744848191738, -0.005855815019458532, 0.06554996222257614, ...
<p>In a paper I came across the description of $R^2$ as "it estimates the combined dispersion against the single dispersion of the observed and predicted series". I am not able to understand this statement. I understand that $R^2$ is the square of the correlation coefficient of predicted and observed values.</p> <p>Pl...
g63953
[ -0.00523819774389267, -0.07820933312177658, -0.013262704946100712, -0.01385860238224268, -0.024071116000413895, 0.01679295487701893, 0.07121283560991287, 0.019570400938391685, -0.0356353260576725, -0.06327147781848907, -0.046762194484472275, 0.07466873526573181, 0.05207085236907005, -0.001...
<p><strong>First</strong>, a general linear algebra question: Can a matrix have more than one set of (unit size) eigenvectors? From a different angle: Is it possible that different decomposition methods/algorithms (QR, NIPALS, SVD, Householder etc.) give different sets of eigenvectors for the <em>same</em> matrix?</p> ...
g21844
[ 0.011155837215483189, -0.027338102459907532, -0.010895133949816227, 0.008625351823866367, 0.0338006429374218, -0.08091752231121063, 0.02454032003879547, -0.014679471962153912, 0.0187714584171772, 0.010891780257225037, -0.023156464099884033, -0.042332541197538376, 0.04102052375674248, 0.042...
<p>I'm looking at some data conversion rates for an ad over time.</p> <pre><code> view clicks Day 1 100 10 Day 2 150 13 Day 3 90 9 Day 4 130 20 Day 5 150 21 </code></pre> <p>Given that there is quite a bit of variation in the conversion ...
g63954
[ -0.007847202010452747, -0.03432603180408478, -0.01642819121479988, -0.022930903360247612, 0.0031679458916187286, -0.01562965288758278, 0.06284549087285995, -0.003844920312985778, -0.018069906160235405, -0.04514121636748314, 0.007097396533936262, 0.052548352628946304, 0.03538532927632332, -...
<p>I have to simulate (in javascript) the likelihood that members of a certain population would have a disease, given a contextual value. All information I have comes from papers that show odds ratios with $95\%$ confidence interval.</p> <p>I found <a href="http://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform" re...
g63955
[ 0.02946978434920311, -0.0067490627989172935, -0.028897633776068687, -0.044871192425489426, -0.05974053964018822, -0.024253908544778824, -0.020436769351363182, 0.00042318328632973135, -0.005246082320809364, -0.0382368229329586, 0.03957096487283707, -0.002769517945125699, 0.07090701907873154, ...
<p>I am in the midst of conducting a study which compares content in a printed catalog of records to content in a much larger online catalog of similar records. I have randomly selected 50 entries from the printed catalog and searched the online catalog to see if there are exact matches for these records. The results a...
g201
[ -0.008596938103437424, -0.013262039981782436, -0.006722366902977228, -0.05022686347365379, -0.022406164556741714, 0.013903679326176643, 0.015069730579853058, 0.017824428156018257, 0.012001687660813332, -0.021411476656794548, -0.02279161661863327, -0.0733630433678627, 0.04196222126483917, -...
<ul> <li>What is the difference between a repeated measures ANOVA over some factor (say experimental condition) and a MANOVA?</li> <li>In particular one website I stumbled across suggested that MANOVA does not make the same assumption of sphericity that repeated measures ANOVA does, is that true?<br> <ul> <li>If so, wh...
g49529
[ -0.002633983502164483, -0.0029282874893397093, -0.00026773044373840094, -0.03995063155889511, -0.014041908085346222, 0.004733641631901264, -0.005150428507477045, 0.018907584249973297, -0.021721847355365753, -0.01907983236014843, -0.049075398594141006, -0.022769136354327202, -0.02511545084416...
<p>I would like to estimate a multivariate model with the following properties:</p> <ul> <li><p>Fixed effects: </p> <ol> <li>Intercept </li> <li>Main effect of condition</li> <li>Main effect of Task order</li> <li>Task order X Condition interaction </li> </ol></li> <li><p>Random effects: </p> <ol> <li>Main effect of...
g41293
[ -0.02912546508014202, -0.04917684569954872, -0.012835988774895668, -0.058965470641851425, 0.0038573003839701414, -0.05477543920278549, -0.0012608511606231332, 0.019103195518255234, -0.018217148259282112, 0.003548251697793603, 0.028149167075753212, 0.0018444204470142722, 0.0238962322473526, ...
<p>There's already been an <a href="http://stats.stackexchange.com/questions/3947/help-me-understand-support-vector-machines">excellent discussion</a> on how support vector machines handle classification, but I'm very confused about how support vector machines generalize to regression.</p> <p>Anyone care to enlighten ...
g41294
[ 0.042564310133457184, 0.011439324356615543, -0.017126018181443214, 0.02561461180448532, 0.03162172809243202, -0.0027579760644584894, 0.02895994484424591, 0.052406128495931625, -0.0681566372513771, -0.03858184441924095, -0.007245403248816729, 0.04731832444667816, 0.059274185448884964, 0.004...
<p><code>FullModel&lt;- (lm(Fubar~.-Foo-Bar,data=BarFoo)) NullModel&lt;-(lm(Fubar~1)) step(NullModel,scope=formula(FullModel),direction="forward",k=log(nrow(BarFoo)))</code></p> <p>When doing the above forward stepwise regression, the forward steps halt before certain variables are added in. does this mean that they d...
g21859
[ 0.023014672100543976, -0.016399763524532318, -0.00629380764439702, -0.06650445610284805, 0.025731593370437622, -0.015736166387796402, 0.04203493148088455, 0.01523053552955389, -0.07991405576467514, -0.07655764371156693, -0.021367551758885384, -0.011022377759218216, 0.04182100296020508, 0.0...