question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I have a regression model that looks like this: $$Y = \beta_0+\beta_1X_1 + \beta_2X_2 + \beta_3X_3 +\beta_{12}X_1X_2+\beta_{13}X_1X_3+\beta_{123}X_1X_2X_3$$</p> <p>...or in R notation: <code>y ~ x1 + x2 + x3 + x1:x2 + x1:x3 + x1:x2:x3</code></p> <p>Let's say $X_1$ and $X_2$ are categorical variables and $X_3$ is n...
g783
[ -0.025957973673939705, -0.06935255229473114, -0.021103959530591965, -0.04610750451683998, 0.06466738134622574, -0.053522948175668716, 0.02958156168460846, 0.02236652560532093, -0.038587749004364014, -0.01041143573820591, -0.012239116244018078, 0.038983575999736786, -0.002660286845639348, 0...
<p>I have a small number of samples (5) of a large population (~10,000). The samples are percentages and hence I know from the context that no answers are possible below 0% or above 100%. From this one set of samples I've calculated my t statistic and confidence intervals; however, for anything above 95% confidence my ...
g6621
[ -0.05715103819966316, -0.014509188942611217, 0.007649489212781191, 0.02915162593126297, -0.06070676073431969, 0.06898811459541321, -0.004389349836856127, 0.06807860732078552, -0.027670200914144516, -0.02466624043881893, -0.009891836903989315, 0.009704896248877048, 0.06070360168814659, -0.0...
<p>I'm working with some data and I used R to the a linear regression model <code>Y = aX + b</code>. The code I used was <code>summary(lm(Y~X))</code> What I got was</p> <pre><code> Estimate Std. Error t value Pr(&gt;|t|) (Intercept) -0.3884045 0.0260232 -14.93 &lt;2e-16 *** X 0.006209...
g66939
[ 0.0777851790189743, -0.0685381218791008, 0.00006010115976096131, -0.03590657562017441, 0.00040901097236201167, 0.002385826548561454, 0.07321557402610779, 0.06265799701213837, -0.054173924028873444, -0.04812544211745262, -0.0248138215392828, 0.05145435780286789, 0.02041255123913288, 0.01536...
<p>I am a little confused about what p-values mean under Fisher's signficance testing &amp; Neyman-Pearson's hypothesis testing.</p> <p>Fisher uses p-values as a continuous measure of evidence against a null hypothesis? So a p-value of 0.06 would indicate that there is no difference and the null hypothesis is true?</p...
g66940
[ 0.00018518889555707574, -0.03826245293021202, 0.007291275542229414, -0.024862118065357208, 0.013556668534874916, -0.006281252484768629, 0.03483659401535988, 0.06769914925098419, -0.025200456380844116, -0.01569691114127636, -0.03397222235798836, 0.005418994929641485, -0.02114773727953434, 0...
<pre><code>library(BRugs) library(coda) ... output = BRugsFit("model.bug", data, inits, numChains = 1, nThin = 5, seed=6, parametersToSave, nBurnin = 9, nIter = 50,coda = T,digits = 5) # computes the effective sample sizes. effectiveSize(output) HPDinterval(output,prob=.9) # diagnostics geweke.diag(output...
g66941
[ 0.021515684202313423, -0.07465202361345291, -0.002932014176622033, -0.05509190633893013, 0.014880022965371609, -0.03733789920806885, 0.06664460152387619, 0.0051200613379478455, -0.05947021394968033, -0.02286197990179062, -0.015950104221701622, 0.07278059422969818, 0.028813699260354042, 0.0...
<p>Does anyone know of a statistical approach/method that lets you model linear regressions between 3-5 explanatory variables that are categorical or continuous and 3 continuous response variables that have interaction effects? Thanks in advance.</p>
g66942
[ 0.036066677421331406, -0.038059383630752563, -0.02803918533027172, -0.029697014018893242, -0.013188237324357033, -0.009562809951603413, 0.011715713888406754, 0.01365888025611639, -0.031464386731386185, -0.0022507866378873587, -0.0030684471130371094, -0.0372856929898262, 0.033221710473299026,...
<p>I cannot understand what I'm doing wrong with an F-test for the regression - I get completely different answers using SSE and R2 formulas. Unrestricted model: <img src="http://i.stack.imgur.com/aVWhX.png" alt="enter image description here"></p> <p>Restricted model: <img src="http://i.stack.imgur.com/4dxNO.png" alt...
g46681
[ -0.028401507064700127, 0.015494145452976227, -0.007541668601334095, 0.019761737436056137, -0.020673800259828568, -0.007419872097671032, 0.0999736413359642, 0.0016611105529591441, -0.04337697848677635, -0.07305599749088287, 0.0023290568497031927, 0.051854174584150314, 0.049419254064559937, ...
<p>I'm trying to explore (rather than formally test) relationships for various subgroups between a continuous X and a binary Y (0 or 1). A good shortcut would seem to be to graph a smoothed X-Y fit for each subgroup. But even when, at various levels of X, the mean of Y ranges from .1 to .3, R's smoothed fitline often ...
g46682
[ 0.012941021472215652, -0.028781874105334282, -0.009371154941618443, 0.025055967271327972, -0.02038642391562462, -0.031553640961647034, 0.06636583060026169, 0.011607248336076736, -0.04571790248155594, -0.04910455271601677, 0.046340614557266235, 0.011643466539680958, 0.027213167399168015, 0....
<p>Given a regression model on interval $[0,1]$ $$ Y_{i}=f(x_{i})+\epsilon_{i},\ i=1,\ldots,N $$ with fixed design and standard error assumptions $E(\epsilon_{i})=0;\ E(\epsilon_{i}\epsilon_{j})=\delta_{i,j}\sigma^{2}$. The regression function $f$ is from Sobolev space $$ f\in W^{q}\left[0,1\right]=\left[f,\ldots,f^{(q...
g26252
[ -0.01805322989821434, -0.029698854312300682, -0.025335906073451042, 0.0636332556605339, 0.01959208771586418, -0.016017338261008263, 0.01289963349699974, 0.02000425010919571, -0.053115036338567734, -0.006617212668061256, -0.010296324267983437, 0.03319336101412773, 0.04037943854928017, 0.032...
<p>I have seen that in constructing indices by PCA the scores of only the first component is used. Although the first principle component explains the most variation contained in the data, often the VAF is too small (10% or even less). Then why do we use only the first component score instead of combining the scores of...
g66943
[ 0.044167082756757736, -0.009187358431518078, 0.026055021211504936, -0.0087214270606637, 0.0246956255286932, 0.02094290405511856, 0.06564280390739441, -0.012577269226312637, -0.04868960753083229, -0.03238343447446823, 0.045590341091156006, 0.00832494255155325, 0.030455056577920914, 0.007189...
<p>I have this problem where I am given a matrix A of size nxp. I run svd on this matrix A. Then I am supposed to plot this matrix using imagesc in matlab where rows are sorted by the first row eigenvalue and columns are sorted by the first column eigenvalue</p> <p>I didn't get what it means by "rows are sorted by the...
g66944
[ 0.03865852579474449, 0.04714125394821167, 0.017041927203536034, -0.014523826539516449, -0.0025394244585186243, -0.021195638924837112, 0.010621827095746994, -0.012882894836366177, -0.04622273147106171, 0.01797078363597393, 0.022176511585712433, -0.005619610659778118, 0.0887715220451355, 0.0...
<p>I have been experimenting with gamm4 to derive GAMMs of some repeated measures data.</p> <p>The models looks very nice and seem to give more flexibility than my LMMs.</p> <p>Ultimately I want to compare models not by the quality of their fit (also the reality of comparing LMM and GAMM fits seems complex?), but in ...
g66945
[ 0.01159465592354536, -0.07400885969400406, -0.013148104771971703, -0.05648702010512352, -0.00971042551100254, -0.023227447643876076, -0.0037345588207244873, 0.036164332181215286, -0.0021317414939403534, -0.008131279610097408, -0.04256255924701691, 0.007169926539063454, -0.006833771709352732,...
<p>My problem is as follows: I drop 40 balls at once from a certain point, a few meters over the floor. The balls roll, and comes to a rest. Using computer vision, I calculate the center of mass in the X-Y plane. I am only interested in the distance from the center of mass to each ball, which is calculated using simple...
g26256
[ 0.01521533913910389, 0.004571047145873308, -0.02562769502401352, -0.06465380638837814, -0.026512470096349716, 0.026274802163243294, 0.04272649064660072, 0.003509966190904379, -0.015496219508349895, -0.0005739314947277308, -0.015640780329704285, -0.011453120037913322, 0.05575477331876755, 0...
<p>I'm involved in sample size calculation for an oncology clinical trial. Our Primary outcome is quality of life (quantitative, normal). There are two treatment regimes. Therefore I started with a simple t-test sample size calculation. With an effect size of 0.55, pow=.8, alpha=.05 we need overall 106 participants. C...
g66946
[ 0.000452784268418327, 0.02899348922073841, -0.013111008331179619, -0.057911187410354614, -0.02682405151426792, -0.05844121053814888, -0.0031915707513689995, 0.0043337405659258366, -0.040210068225860596, 0.013269617222249508, 0.04028391093015671, 0.0211965199559927, 0.032393500208854675, 0....
<p>I have monthly data for about the last 2.5 years for an economic index as well as external regressors for each month. Is it feasible to treat the months as independent and just fit a multiple regression model regressing the external data (3-5 variables) on the index? I have tried fitting an ARIMA (1,0,0) and with ex...
g26257
[ 0.029516851529479027, -0.01370270736515522, 0.010492834262549877, 0.009578047320246696, -0.049863170832395554, -0.003154977224767208, -0.0001793122646631673, -0.03391258791089058, -0.03273877128958702, 0.011441837064921856, 0.038598619401454926, 0.03749572113156319, 0.02513943612575531, -0...
<p>In Brockwell and Davis' Introduction to Time Series and Forecasting, </p> <p>a linear process is <a href="http://books.google.com/books?id=VHB4OSAmwcUC&amp;lpg=PP1&amp;pg=PA51#v=onepage&amp;q&amp;f=false" rel="nofollow">defined to be</a></p> <p><img src="http://i.stack.imgur.com/FHA9V.png" alt="enter image descrip...
g66947
[ 0.08214271068572998, -0.06692530959844589, -0.0017216766718775034, -0.027180511504411697, 0.015524541959166527, -0.010233944281935692, 0.08834660798311234, 0.007419709116220474, -0.04433220624923706, 0.02550266869366169, 0.04886661469936371, 0.014103352092206478, 0.057657044380903244, -0.0...
<p>Suppose $X_i, i \in \mathbb N $ is a white noise. Given $X_1,\dots, X_n$, what is the best one-step linear predictor for $X_{n+1}$, best in the sense of mean square error?</p> <p>What if the question is changed to the following case:</p> <p>Suppose $X_i, i \in \mathbb N $ are uncorrelated, and they have identical ...
g66948
[ 0.02737933211028576, -0.02369840256869793, 0.016144009307026863, -0.06293408572673798, 0.00574831385165453, -0.042020682245492935, 0.027239196002483368, 0.008892211131751537, -0.0065246508456766605, -0.02274255082011223, 0.0458298996090889, 0.04739685356616974, 0.006551970262080431, 0.0136...
<pre><code>Dickey-Fuller test for unit root Number of obs = 21 ---------- Interpolated Dickey-Fuller --------- Test 1% Critical 5% Critical 10% Critical Statistic Value Value ...
g49602
[ 0.022692520171403885, -0.014965571463108063, 0.008843151852488518, 0.003585715079680085, 0.01520240306854248, -0.013242172077298164, 0.03750588372349739, 0.007420239504426718, -0.04108194261789322, 0.024576064199209213, -0.024590786546468735, 0.05400291085243225, 0.04366070032119751, 0.010...
<p>This is my first time at stack exchange, hence please pardon me if I miss something. I have multiple questions and I am tearing myself as curve-fitting and estimation is foreign land to me, I am ready to learn given directions and ideas.</p> <p>I am trying to model liquidity (ease of trading) of a security. In my c...
g66949
[ 0.023082558065652847, 0.005662285722792149, -0.04282158985733986, -0.057151973247528076, 0.04403741657733917, 0.0010196686489507556, 0.0017078104428946972, -0.0015970082022249699, -0.007008073851466179, -0.03710459917783737, -0.03490845486521721, 0.0015104046324267983, 0.02667808160185814, ...
<p>I'm using demographic variables (age, number of children, gender, socioeconomic status, educational status) as moderating variables between Self differentiation (independent variable) and Marital Satisfaction (DV). I'm planning to use hierarchical regression is it correct? if in case I would not follow random sampli...
g26261
[ -0.005434751510620117, 0.013018734753131866, -0.01839202083647251, -0.05429508164525032, -0.027047159150242805, 0.0253883209079504, 0.009350174106657505, -0.01939813420176506, -0.014945193193852901, -0.030880745500326157, 0.005100585985928774, 0.01296138297766447, -0.005390752572566271, 0....
<p>I want to test whether the breeding periods of several closely related birds is significantly separated in time. What statistical test should I use?</p> <p>My data consists of several observations per species with the date of breeding initiation (i.e. egg laying dates).</p> <p>Could I just simply do an ANOVA on th...
g66950
[ 0.011152439750730991, 0.015711409971117973, 0.0008568521006964147, -0.02168702892959118, -0.03596161678433418, 0.02444511651992798, 0.03309503570199013, 0.0040158857591450214, -0.03891977667808533, 0.01717488467693329, -0.02659243904054165, 0.01681196689605713, 0.0020080541726201773, 0.024...
<p>I'm trying to model correctly the data of a research were doing.</p> <p>We have many indicators measured along a day in n patients. For example, we have heart rate recorded once per minute for every patient. The patients belong to 4 groups. </p> <p>We want to estimate the effect of the group they belong to on the ...
g66951
[ -0.018126657232642174, -0.034701354801654816, -0.01304191816598177, 0.0095540601760149, -0.008607365190982819, 0.013568968512117863, 0.034304194152355194, 0.03332717716693878, -0.02289608307182789, -0.03851845860481262, 0.014463950879871845, -0.015659086406230927, -0.010105644352734089, 0....
<p>In local news [1] comes with information that 58% of people is for something. This information is based on option pool that ask 500 people from 10.5 million about that question. What is confidence interval for people that are for that something?</p> <p>To solve this I try following. The $n$ people from $10^7$ is fo...
g49351
[ 0.05285097286105156, 0.03114352934062481, -0.012719628401100636, -0.0003369160112924874, 0.007037424016743898, -0.03579527512192726, 0.020643921568989754, -0.017576057463884354, -0.04526383802294731, 0.012083355337381363, -0.020400304347276688, 0.03578435629606247, -0.028343670070171356, -...
<p>The problem I am working on not only requires me to use several levels but also identify, from a set of attributes, which ones could be treated as levels. </p> <p>What is a good resource to understand Mixed Models? Also, what are the concepts that one must understand before putting such models to use? And what are ...
g49763
[ 0.036828815937042236, 0.009022833779454231, 0.0022481423802673817, -0.024834292009472847, 0.02160911075770855, 0.01954733207821846, 0.016388310119509697, 0.007908686064183712, -0.019707318395376205, -0.021376272663474083, -0.02541685476899147, -0.03479641303420067, 0.04043633118271828, 0.0...
<p>I have learned several classifiers in Machine learning - Decision tree, Neural network, SVM, Bayesian classifier, K-NN, Markov process...etc.</p> <p>Can anyone please help to understand when I should prefer one of the classifier over other - for example - in which situation(nature of data sets, etc) I should prefer...
g49363
[ 0.05763007700443268, -0.0033403486013412476, 0.01600024849176407, 0.054791856557130814, 0.029340026900172234, -0.007817557081580162, 0.0031727682799100876, 0.01531804259866476, -0.03575168550014496, 0.00010566720447968692, 0.06632750481367111, 0.018619060516357422, 0.07315954566001892, 0.0...
<p>I would like to know how about the differences between hidden markov model and neural network.</p>
g66952
[ 0.028833935037255287, -0.005092059727758169, 0.014514019712805748, 0.08218764513731003, 0.02794962003827095, -0.023104242980480194, 0.03520790860056877, 0.06669122725725174, -0.014919767156243324, -0.02978069894015789, -0.03939104080200195, 0.040790412575006485, 0.04739982634782791, 0.0125...
<p>If you are fitting a SEM and wish to add an interaction effect between two variables, I understand that you convert the variables to z-scores, multiply them together and insert this new variable into the model as the interaction effect.</p> <p>What do you do if the interaction effect variable does not meet assumpti...
g66953
[ 0.0013712048530578613, -0.007038085721433163, 0.0077222539111971855, -0.030820688232779503, 0.040642376989126205, -0.014188556000590324, 0.009004771709442139, 0.04849785938858986, -0.006003899034112692, 0.011970844119787216, -0.014630316756665707, -0.021243983879685402, 0.012861430644989014,...
<p>I'm looking at a data set and trying to understand relationships between what is charged and what is paid.</p> <p>First pass with a simple regression using excel's data analysis regression tool gives the following, without forcing zero intercept:</p> <p><img src="http://i.imgur.com/IzaJJyF.png" alt="Residuals Plot...
g26266
[ 0.045241158455610275, -0.050072889775037766, -0.009479974396526814, -0.003864309284836054, -0.008912508375942707, -0.006527747958898544, 0.023490220308303833, -0.012904174625873566, -0.08236519992351532, -0.04750046133995056, 0.04003695771098137, 0.04158511012792587, 0.040035899728536606, ...
<p>“Determine probability that a purchase is paid for by debit card OR credit card given that the customer paid over $100 for it” [2 events and 1 condition] </p> <p>“Compute the probability that a child survives an accident given that the child is either 3 OR 4 years old.” [ 1 condition, 2 events]</p> <p>My question ...
g66954
[ 0.03478832542896271, 0.008275575004518032, -0.005681738257408142, -0.009551011957228184, -0.01854465901851654, -0.05205883830785751, 0.0528048574924469, 0.06538675725460052, -0.02013269066810608, -0.05493958294391632, -0.007858091033995152, -0.036753099411726, 0.09540585428476334, -0.01641...
<p>I have a table.</p> <pre><code> CASH CREDIT CARD DEBIT CARD TOTAL UNDER 20 0.09 0.03 0.04 0.16 20-100 0.05 0.21 0.18 0.44 OVER 100 0.03 0.23 0.14 0.4 TOTAL 0.17 0.47 0.36 1 <...
g66955
[ 0.03949151560664177, 0.0126058803871274, 0.028514912351965904, -0.04671395570039749, 0.03797879070043564, -0.05810919031500816, 0.0380144827067852, -0.015087259002029896, -0.07015185058116913, -0.04476943239569664, -0.08142377436161041, 0.016307635232806206, 0.045778799802064896, -0.001972...
<p>The problem I have is as follows. I have enrolment data describing the number of male and female preferences for two broad fields of education: i) Information Technology and ii) Engineering. The data reflects "first preferences", that is, the number of people who wrote down on paper that their most preferred degre...
g652
[ -0.007014328148216009, 0.04556525498628616, 0.00994484219700098, -0.01730961538851261, 0.024694280698895454, 0.05042767897248268, 0.03415185585618019, -0.0293014757335186, 0.008330113254487514, 0.01800175942480564, 0.013946457765996456, 0.025220081210136414, 0.06802143901586533, 0.01375187...
<p>I have access to two large medical datasets of observational records in the UK. The first - Clinical Practice Research Datalink (CPRD) - has data on 100,000's of patients - largely dates of doctor's visits, diagnoses &amp; prescriptions. Crucially, it has little information on hospitalisations.</p> <p>The second ...
g66956
[ 0.017450662329792976, -0.009239776991307735, -0.018231095746159554, -0.06385714560747147, -0.01219338458031416, -0.0017089961329475045, 0.0033951925579458475, 0.048324357718229294, 0.007053178269416094, -0.06748329102993011, 0.09134716540575027, 0.022568874061107635, 0.07884752005338669, 0...
<p>I've been using the backbone network extraction method outlined in this paper: <a href="http://www.pnas.org/content/106/16/6483.abstract">http://www.pnas.org/content/106/16/6483.abstract</a></p> <p>Basically, the authors propose a method based in statistics that produces a probability, for each edge in the graph, t...
g6758
[ 0.0067348238080739975, 0.024000898003578186, 0.019421827048063278, -0.045374367386102676, 0.04730667173862457, -0.0101454583927989, -0.018486451357603073, 0.04167523607611656, 0.06604370474815369, -0.0028441553004086018, 0.007363604847341776, -0.027779225260019302, 0.031242478638887405, 0....
<p>Could someone please tell me, where this comes from:</p> <p>$$ p(\beta, \sigma^2 | y, \tau) \propto p(y | \beta, \sigma^2) p(\beta | \tau) p(\sigma^2). $$</p> <p>Thank you!</p>
g66957
[ 0.08437807857990265, -0.017124474048614502, -0.038017161190509796, -0.03818836808204651, 0.08610470592975616, -0.032508764415979385, 0.029070407152175903, 0.006289736367762089, -0.00816644262522459, -0.0115794213488698, -0.07092894613742828, 0.07125195115804672, 0.013575073331594467, -0.00...
<p>I have three groups with two hundred individuals each, and each individual within a group has a pre and post treatment measurement. A single group contains individuals with similar pre measurement scores. </p> <p>If I wanted to see which groups have had a significant change in their measurements from pre to post tr...
g26270
[ -0.005138041917234659, -0.032911404967308044, -0.015390385873615742, -0.04616790637373924, -0.03654507175087929, -0.02298629656434059, 0.04423104599118233, 0.05987643823027611, -0.006224929820746183, -0.0038466951809823513, 0.0034924414940178394, 0.04629109054803848, 0.0210777185857296, -0...
<p>Why are we using the squared residuals instead of the absolute residuals in OLS estimation?</p> <p>My idea was that we use the square of the error values, so that residuals below the fitted line (which are then negative), would still have to be able to be added up to the positive errors. Otherwise, we could have an...
g49295
[ 0.050653014332056046, -0.07749246060848236, 0.004102042410522699, -0.042698394507169724, -0.04482821002602577, 0.0198059119284153, 0.011130099184811115, 0.03597259521484375, -0.05302772670984268, 0.04009465128183365, 0.016834108158946037, 0.040887683629989624, 0.0912783071398735, 0.0068844...
<p>The following binomial test (exact binomial test) has a <em>p</em>-value of <strong>0.05698</strong>, greater than 0.05 by a bit. 95% CI is (0.5698, 0.8077).</p> <pre><code>binom.test(x = 44, n = 63, p = 0.8, alternative = "two.sided") </code></pre> <p>The following proportions test (without Yates' continuity corr...
g26272
[ 0.0769747868180275, -0.03218234330415726, 0.018424268811941147, -0.01951262727379799, 0.041226089000701904, 0.002679274883121252, 0.026717204600572586, 0.022005457431077957, -0.000617432058788836, -0.007825108245015144, 0.03736087679862976, 0.04319767281413078, -0.013596471399068832, -0.02...
<p><strong>tl;dr</strong> I can only generate samples of a random variable $X$ using MCMC. How can I find the error in the estimate of the expected value of $X$ based on this MCMC data?</p> <hr> <h3>The problem</h3> <p>I have a "black box" which gives me a sequence of "random" numbers (MCMC sampler). I have record...
g66958
[ 0.012372322380542755, -0.039699871093034744, -0.005303123500198126, -0.01681539975106716, -0.018571611493825912, -0.047721441835165024, 0.013489723205566406, 0.04633529856801033, -0.05491386726498604, -0.02292502485215664, 0.017835140228271484, 0.004449819214642048, 0.02968801185488701, 0....
<p>I have been playing with this SPSS <a href="http://rpadgett.butler.edu/ps310/datasets/LooksOrPersonality.sav" rel="nofollow">data file</a>, which is a class example from a university I am not enrolled in.</p> <p>In the original file there are 10 men and 10 women. I did a two-way mixed ANOVA with gender as the betwe...
g26273
[ 0.002202203031629324, -0.06646736711263657, 0.008151235990226269, -0.03927922993898392, 0.02654641680419445, 0.048624616116285324, 0.012171700596809387, 0.010768084786832333, -0.04651614651083946, -0.017200667411088943, 0.004062538966536522, 0.021724920719861984, 0.026908673346042633, 0.00...
<p>My fixed effect model is insignificant when I don't include the year dummies $$\text{Prob $&gt;$ F} = 0.7769$$</p> <p>When I try other regressions the model is fine, for example Driscoll &amp; Kraay fixed effect.</p> <p>When I delete some outliers from my dependent variable, the fixed effect become signifi...
g66959
[ -0.011975030414760113, -0.024993110448122025, -0.0055915843695402145, -0.017109321430325508, 0.014770980924367905, 0.01684914529323578, 0.011856824159622192, 0.03869376704096794, 0.0001401382323820144, -0.03384550288319588, 0.03644433245062828, 0.016420850530266762, -0.008065322414040565, ...
<p>Suppose I want to fit a lasso/ridge regression to a training set. Then, I need to choose $\lambda$, the regularization parameter. To choose $\lambda$, I can use two methods:</p> <ol> <li><p>K-fold Cross Validation (from An Introduction to Statistical Learning p. 227):</p> <ol> <li>Divide the training set into K fo...
g26274
[ 0.08114238828420639, -0.03933500871062279, 0.008501849137246609, -0.01675986312329769, 0.0677984431385994, 0.02282293513417244, 0.012788667343556881, 0.023725656792521477, -0.03207598999142647, 0.007807894144207239, 0.023795155808329582, -0.007408883888274431, 0.041748784482479095, -0.0070...
<p>I'd appreciate reference books/online resources in learning how to apply A/B hypothesis testing for problems of the following type:</p> <p>Given an initial strategy B with $X$ samples yields a success rate of $b$. Now say we are given two new strategies $B_1$ and $B_2$, one trial each with number of samples $X_1$ a...
g66960
[ 0.0035401182249188423, 0.0005614363471977413, 0.017341135069727898, 0.016248565167188644, 0.02705000899732113, -0.041174888610839844, -0.01439267210662365, 0.030882321298122406, -0.013669714331626892, 0.028273530304431915, 0.020644763484597206, 0.04407685995101929, 0.050537776201963425, 0....
<p>What does this statement mean: "we calculated binomial 95% confidence intervals to determine the number of weeks that were statistically-significantly outside of the bounds of error"? How can one calculate it?</p>
g26275
[ 0.009990095160901546, 0.02506948821246624, -0.018387943506240845, -0.00769097451120615, -0.0460200309753418, 0.018321938812732697, 0.03433036431670189, -0.024746326729655266, -0.01673787459731102, -0.056076955050230026, -0.039307985454797745, 0.00921181682497263, 0.05709453672170639, -0.08...
<p>I have some simple datasets that consist of a discrete integer-valued variable together with frequency counts. The frequencies vary a lot as does the value of the variable. For example one set has values from 1 to a little less than 15000 with frequencies from 1 to half a million. The small values have the many occu...
g26276
[ 0.02033820003271103, 0.026577042415738106, -0.023354467004537582, -0.06576628237962723, -0.07631680369377136, -0.05749053508043289, 0.007312861271202564, -0.08638574928045273, 0.00005179900836083107, -0.04462737217545509, 0.09034626185894012, 0.0023276458960026503, 0.050585292279720306, 0....
<p>I am trying to fit the mixed effects model and test for a variance component using RLRsim package.</p> <p>$$ Y_{ik} = \alpha + \mu_{k} + \beta G_{i} + Z_{k}G_{i} + b_{i} + \epsilon_{ik} $$ Random effects: $$ Z_{k} \sim N\left(0,\psi\right) \qquad b_{i} \sim N\left(0,\tau\right) \qquad \epsilon_{ik} \sim \l...
g66961
[ 0.002121428493410349, -0.0800936371088028, 0.00685150595381856, -0.02735462225973606, -0.03695428743958473, 0.004888569936156273, 0.06033865362405777, -0.019703363999724388, -0.017227789387106895, -0.02223898470401764, 0.050140563398599625, 0.01615973748266697, -0.021318836137652397, -0.00...
<p>Does anyone have advice/references on choosing a minimally informative prior for the shape parameter of an Erlang distribution (gamma distribution with shape parameter restricted to integer space), or a joint prior on both parameters.<br> My gut tells me that a discrete uniform could be a bad idea. A truncated poiss...
g66962
[ 0.05387568846344948, -0.029203100129961967, 0.00756930373609066, -0.09643665701150894, -0.03351403400301933, -0.02143264375627041, -0.016307804733514786, -0.03644298017024994, -0.018818950280547142, -0.025401057675480843, 0.040383752435445786, 0.015504460781812668, 0.02591136284172535, -0....
<p>I working on this data set with marital status and age. I want to plot the percentage of never married man versus each age. Could you please help me to figure out the way how to do it in R? So far I have created two separate arrays with men never marries and ever married. I know how many case of each I have. What i ...
g46721
[ -0.005566668696701527, -0.053014758974313736, -0.004680139943957329, -0.0433780811727047, -0.03919598460197449, -0.020315468311309814, 0.04650282859802246, 0.011168098077178001, 0.016236262395977974, -0.03971968963742256, -0.0010752303060144186, 0.007517390884459019, -0.016982370987534523, ...
<p>I was wondering if I have to worry about the homogeneity of error variance assumption (which states that the predicted scores for Y should be similarly distributed about the regression line for each of the moderator based populations) when my moderator is continuous? I know you should not dichotomize a continuous m...
g66963
[ 0.0010673466604202986, -0.05367252975702286, -0.01875890977680683, -0.0028951994609087706, 0.008067387156188488, -0.01943623088300228, 0.033054519444704056, 0.04374423250555992, -0.050180576741695404, -0.02807929366827011, -0.010277483612298965, 0.007031675893813372, -0.005692967213690281, ...
<p>I am using simple linear regression to predict the number of days of school a single student might miss after 250 days using their cumulative daily attendance data over the first 50 days of the student's schooling--i.e., predicting how many days of school they will have missed at 250 days based on their individual c...
g66964
[ -0.044727303087711334, -0.01831151731312275, 0.0004454967856872827, -0.005846455227583647, -0.010654205456376076, -0.04390718787908554, 0.07703188061714172, 0.030614472925662994, 0.019498342648148537, -0.0044888686388731, 0.0356244295835495, -0.009071046486496925, 0.0991538017988205, 0.017...
<p>From Kutner's Applied Linear Statistical Models</p> <blockquote> <p>In the next three sections, we shall discuss three multiple comparison procedures for analysis of variance models that permit the family confidence coefficient and the family a risk to be controlled. </p> <p>Two of these procedures, the...
g66965
[ 0.007511286064982414, -0.017098773270845413, -0.0008946799789555371, 0.009057380259037018, 0.00032493885373696685, -0.03295569866895676, 0.0385415181517601, 0.013665575534105301, -0.045814357697963715, -0.030058307573199272, 0.031053772196173668, -0.011083807796239853, 0.012460298836231232, ...
<p>Consider n independent observations {($x_i, y_i$) : $1 \le i \le n$} from the model $$Y = α + βx + \epsilon,$$ where $\epsilon$ is normal with mean 0 and variance $σ^2$. Let $\hat α$, $\hat β$ and $\hat σ^2$ be the maximum likelihood estimators of $α$, $β$ and $σ^2$ respectively. Let $v_{11}$, $v_{22}$ and $v_{12}$ ...
g66966
[ -0.013772637583315372, -0.04447276145219803, -0.004293383564800024, 0.021302342414855957, 0.014134462922811508, -0.06018591672182083, 0.0029867461416870356, 0.026963528245687485, -0.027272479608654976, 0.0009674721513874829, -0.03947464004158974, 0.03480545058846474, 0.021102463826537132, ...
<p>I am conducting a study on a sample of 100 people in order to test whether or not education has an effect on employment status. Basically i'm running a logistic regression where education is the independent categorical variable (i.e 1= HighSchool, 2=Bachelors, 3=Masters etc...) and the dependent variable being binar...
g66967
[ -0.075960174202919, 0.0158041063696146, -0.004143331665545702, -0.016986016184091568, 0.015446320176124573, -0.012242825701832771, 0.028787055984139442, 0.009298410266637802, 0.02839706838130951, -0.03086826577782631, 0.006756179500371218, 0.04585285484790802, 0.041619159281253815, 0.04340...
<p>I have been checking out which diagnostics to use for a GEE analysis. It seem that influence measures are appropriate (Preisser, 1996). Does anyone know of a package that can be used in R to examine influence measures in GEE? The "stats" package does not work: it returns an error when I run</p> <pre><code>influence...
g26280
[ 0.013021238148212433, -0.062043916434049606, 0.004899916704744101, -0.07774803042411804, -0.043512456119060516, -0.016810886561870575, 0.05023207515478134, -0.005620067939162254, -0.02817828208208084, -0.03129268437623978, 0.023642661049962044, 0.000745088211260736, -0.008272383362054825, ...
<p>I am working my way (self-study) through E.T. Jaynes' book <em>Probability Theory - The Logic of Science</em></p> <h2>Original Problem</h2> <p><em>Exercise 2.1</em> says: "Is it possible to find a general formula for $p(C|A+B)$ analogous to [the formula $p(A+B|C)=p(A|C)+p(B|C)-p(AB|C)$] from the product and sum r...
g46733
[ 0.03245769068598747, -0.005050573963671923, -0.013276485726237297, -0.05485426262021065, 0.02979656495153904, -0.06426527351140976, 0.08116966485977173, 0.007585061248391867, 0.008786436170339584, 0.01885506883263588, -0.032342299818992615, -0.0029513933695852757, 0.006464764941483736, 0.0...
<p>Partly as a learning exercise, I’m attempting to reproduce a published SAS PROC MIXED analysis using R’s lme4 package. A full description of both the application and the statistical method is available in <a href="http://www.biomedcentral.com/1472-6750/11/15" rel="nofollow">http://www.biomedcentral.com/1472-6750/11...
g66968
[ -0.00967684481292963, -0.09224499017000198, 0.006034815683960915, -0.007120599504560232, -0.01796780526638031, -0.0011284661013633013, 0.0371834933757782, 0.011513706296682358, -0.034820497035980225, -0.01880614459514618, 0.035224549472332, 0.015723776072263718, 0.022006576880812645, 0.054...
<p>My data look like this.</p> <p><img src="http://i.stack.imgur.com/Qi08m.png" alt="Heights of hoverers and non-hoverers"></p> <p>The variable on the $x$ axis is height in inches. The variable on the $y$ axis is whether someone hovers when urinating at a public toilet. Each of the 103 points is a female university s...
g26281
[ 0.019316507503390312, 0.017455434426665306, 0.0054564159363508224, -0.01763560064136982, -0.0007653841166757047, 0.03266312554478645, 0.020147517323493958, -0.030855847522616386, -0.04276000335812569, -0.02977513149380684, -0.0008449049782939255, 0.018926436081528664, 0.058865174651145935, ...
<p>Suppose you have observations $f_1, f_2, \ldots, f_n$ which are drawn <em>i.i.d.</em> from a central F distribution, with unknown numerator degrees of freedom, $n_1$ and known denominator degrees of freedom, $n_2$. What is the preferred method for computing/estimating the MLE of $n_1$? If the likelihood is known to...
g26282
[ 0.017410552129149437, -0.03663405030965805, -0.001617191475816071, -0.06541415303945541, -0.011260489001870155, -0.04642941802740097, 0.043653570115566254, 0.02006623148918152, -0.019048145040869713, 0.007591250818222761, 0.01146263349801302, -0.02480587549507618, 0.06130155175924301, 0.00...
<p>I have developed a web application in which I show a picture and two captions. One of those captions is the correct and the other is randomly selected from a corpus of picture captions.</p> <p>Next, I present the following question: "Which caption best describes the picture?" and the user casts a vote on the captio...
g109
[ 0.01611514203250408, -0.007514654193073511, 0.009745150804519653, 0.028956381604075432, 0.03572601452469826, -0.037394728511571884, -0.010240064933896065, -0.018802545964717865, -0.015389073640108109, 0.02407905086874962, -0.0008782320073805749, 0.0375506728887558, 0.05358147248625755, -0....
<p>I'm needing to validate an inherited testing project correct use of confidence testing.</p> <p>Direct mail creatives are being evaluated at month end over a 90 day campaign cycle for several unique customer groups (eg.: new, upgraded, lapsed, etc.) Here's a low volume data example for just one customer group (new) ...
g26284
[ -0.01476235967129469, -0.0573510080575943, -0.01769515685737133, -0.044893547892570496, 0.01369123999029398, -0.03186165168881416, 0.05958477780222893, 0.0119776651263237, -0.03017106093466282, -0.02958098240196705, 0.05095139145851135, 0.07418696582317352, 0.0683484822511673, -0.002047862...
<p>I am very interested in the concepts and discussions taking place here. However, I'm not entirely sure what this field of study is called or what the many branches of study are being discussed here are. It all seems to be related to finding relations and patterns in data so we can use it in a meaningful way.</p> <p...
g66969
[ 0.03328424692153931, 0.041776999831199646, 0.008071927353739738, -0.0661124736070633, -0.00653012515977025, -0.026506535708904266, -0.0006284085102379322, -0.00814385712146759, 0.01029463391751051, -0.09280392527580261, 0.02103467844426632, -0.02164045348763466, 0.11066754162311554, -0.018...
<p>Say I have n sets of data where each set of data has a binomial distribution. The n sets of data are then combined into one set. If I take the combined set of data, how would I go about detecting that this set is made up from n individual sets ?</p> <p>I have only a limited background in statistics, so here is an ...
g66970
[ 0.019555918872356415, 0.011946898885071278, -0.01843424141407013, -0.02484900690615177, -0.034874025732278824, -0.04112520441412926, 0.013866856694221497, -0.006757398135960102, -0.046867724508047104, -0.06094896048307419, 0.013026891276240349, -0.017207838594913483, 0.026745498180389404, ...
<p>How to reproduce MS Excel's <a href="http://office.microsoft.com/en-us/excel-help/chidist-HP005209010.aspx" rel="nofollow">CHIDIST</a> function in MATLAB?</p> <blockquote> <p>Returns the one-tailed probability of the chi-squared distribution. The χ2 distribution is associated with a χ2 test. Use the χ2 test to co...
g66971
[ 0.03052564151585102, 0.0025577235501259565, -0.0017921761609613895, -0.034183621406555176, 0.0764719769358635, -0.046818315982818604, 0.024048108607530594, 0.035605281591415405, -0.061287771910429, -0.036605384200811386, -0.013108431361615658, 0.029369531199336052, 0.07136761397123337, 0.0...
<p>I would like to estimate the distribution of a very large population of known size but unknown mean and variance. I cannot assume anything about the shape of the underlying distribution (although I am relatively certain that it is not normal). However, I am certain that the values in the population are non-negative,...
g66972
[ -0.004526581149548292, 0.0010956671321764588, 0.022308271378278732, -0.029691988602280617, -0.04841719567775726, -0.03967197239398956, -0.025730740278959274, 0.03649447113275528, 0.011513683944940567, -0.007230451796203852, -0.02402428537607193, -0.008930007927119732, 0.016736431047320366, ...
<p>I've seen that multiplicative Holt-Winters requires strictly positive data points. I was wondering why it does not allow zero values?</p>
g66973
[ 0.0021392074413597584, 0.02072606049478054, -0.016727952286601067, 0.009447581134736538, 0.008025799877941608, -0.004441899713128805, 0.04975619912147522, 0.028106488287448883, 0.020138859748840332, -0.07774242013692856, -0.030252791941165924, 0.028101619333028793, 0.019560351967811584, -0...
<h3>Context:</h3> <p>From a question on Mathematics Stack Exchange <a href="http://math.stackexchange.com/questions/31649/can-i-build-a-program-that-will-tell-me-if-a-real-world-data-set-looks-linear-lo/">(Can I build a program)</a>, someone has a set of $x-y$ points, and wants to fit a curve to it, linear, exponentia...
g66974
[ 0.07628884166479111, -0.062148045748472214, -0.009752606973052025, -0.0004697543627116829, 0.04345962032675743, -0.05731263384222984, 0.017428454011678696, 0.002625880530104041, -0.011595262214541435, -0.03983946889638901, 0.015364253893494606, -0.026079943403601646, 0.0641731470823288, -0...
<p>I am new to the use of cubic splines for regression purposes and wanted to find out </p> <p>1) What is a good source (besides ESL which I read but am still uncertain) to learn about splines for regression? <br/> 2) How would you calculate the basis of a given natural cubic spline solution on new data? Specifically ...
g26288
[ 0.05312677472829819, 0.031277526170015335, 0.0010174540802836418, -0.021092792972922325, -0.01871343143284321, -0.04260540008544922, 0.051513317972421646, 0.03516724705696106, -0.05963059887290001, -0.019536102190613747, -0.031541574746370316, -0.004828238394111395, 0.07153084129095078, -0...
<p>We have a series of experiments where we measure virus transmission to plants when exposed to virus-infected insects for different time periods, so all of the experiments have similar types of independent and dependent variables. In one experiment, there are 6 time periods (1 to 24 hours) and 25 plants were tested ...
g66975
[ 0.002529332647100091, -0.05020661652088165, -0.008777853101491928, 0.008032947778701782, 0.0033143614418804646, -0.019502628594636917, -0.008386402390897274, 0.0003756232908926904, -0.04260032996535301, -0.00757072027772665, 0.04659845307469368, 0.016144411638379097, 0.02542549930512905, 0...
<h3>Context:</h3> <p>I have a series of figures for car sales that show me (a) the usual number of car sales for particular models and (b) the number of car sales by a particular car salesperson for each model.</p> <p>Let's say the values are:</p> <pre><code>Model | Sales by all Salespeople | Sales by Salesperson x ...
g314
[ 0.026330430060625076, 0.01946881413459778, -0.006916197948157787, -0.05716726556420326, 0.01683211326599121, -0.049948517233133316, 0.052941229194402695, 0.011585142463445663, 0.0019891837146133184, -0.026971139013767242, 0.013680851086974144, 0.009263938292860985, 0.04816367104649544, 0.0...
<p>Repeating an experiment with $n$ possible outcomes $t$ times independently, where all but one outcomes have probability $\frac{1}{n+1}$ and the other outcome has the double probability $\frac{2}{n+1}$, is there a good approximate formula for the probability that the outcome with the higher probability happens more o...
g45408
[ -0.009824649430811405, 0.015978354960680008, 0.003744724905118346, 0.018119055777788162, -0.0035969072487205267, -0.03692956268787384, 0.010695730336010456, 0.03717923164367676, -0.06023845821619034, 0.0077064139768481255, -0.02643861621618271, 0.007125945761799812, 0.02609403245151043, 0....
<p>In <em>Mostly Harmless Econometrics</em>, section 5.2.1 (Regression DD), pages 233-234, equation (5.2.3) defines $Y_{ist}=\alpha + \gamma NJ_{s}+\lambda d_{t}+\delta (NJ_{s}.d_{t})+\epsilon_{ist}$, where $NJ_{s}$ is a dummy denoting observations from New Jersey and $d_{t}$ is a dummy for observations obtained in Nov...
g66976
[ 0.016354767605662346, -0.021980442106723785, -0.03774644061923027, -0.041641656309366226, 0.042862359434366226, -0.004842387977987528, 0.06654690951108932, 0.026310062035918236, -0.023689910769462585, 0.00471149617806077, -0.02184937708079815, 0.025941096246242523, 0.05754324421286583, -0....
<p>I mean something like <a href="https://github.com/glennblock" rel="nofollow">this chart</a> showing the frequencies of a user's public contributions on GitHub.</p> <p><img src="http://i.stack.imgur.com/X9SRH.png" alt="enter image description here"></p> <p>I really like this kind of chart, as I think that they disp...
g49546
[ 0.018783343955874443, 0.05742119997739792, 0.002295207930728793, -0.10791339725255966, 0.008585168048739433, -0.0184516292065382, -0.01462067011743784, -0.03131656348705292, 0.0030172765254974365, -0.05864538252353668, 0.04223591461777687, 0.013561170548200607, 0.05481213331222534, -0.0018...
<p>Can any one help?</p> <p>I am trying to graph the probability of predicting a male bird based on tarsus length according to the GLM.</p> <p>I have run a GLM and I am not sure why I can't plot the predictions.</p> <p>My code and data follows.</p> <pre><code>Tarsus Sex 33.49 female 36.36 female 36.61 femal...
g66977
[ 0.008177264593541622, 0.028869668021798134, 0.013198299333453178, -0.06453917920589447, -0.023830171674489975, 0.006284995470196009, 0.02575630694627762, -0.029555270448327065, -0.08718878775835037, -0.06468646228313446, 0.024474719539284706, 0.048701781779527664, 0.06466203927993774, -0.0...
<p>Many textbooks and papers said that intercept should not be suppressed. Recently, I used a training dataset to build a linear regression model with or without an intercept. I was surprised to find that the model without an intercept predicts better than that with an intercept in terms of rmse in an independent valid...
g66978
[ 0.004305988550186157, -0.038256824016571045, 0.0100786117836833, 0.012747365050017834, -0.03853931650519371, -0.029637310653924942, 0.0346834771335125, 0.10814008861780167, -0.023521050810813904, -0.08115744590759277, 0.03787795826792717, 0.015024731867015362, 0.032155852764844894, -0.0319...
<p>I want to investigate performance in a learning test, where my test animals have been submitted to a number of trials within test day over several test days. I want to investigate if there is an effect of trial and of test day on the performance.</p> <p>Normally, I would use a random intercept model using <code>lme...
g45432
[ -0.03083050437271595, -0.039908356964588165, -0.008978452533483505, -0.05999496951699257, 0.010967962443828583, -0.022187359631061554, 0.059398580342531204, 0.0030550207011401653, -0.03436616435647011, -0.005503329448401928, 0.008572028018534184, 0.03610527515411377, 0.030244508758187294, ...
<p>The sample mean is the maximum likelihood estimator of $\mu$ for a normal distribution $\text{Normal}(\mu,\sigma)$. The sample median is the maximum likelihood estimator of $m$ for a <a href="http://en.wikipedia.org/wiki/Laplace_distribution">Laplace distribution</a> $\text{Laplace}(m,s)$ (also called the double ex...
g26296
[ 0.010001501999795437, -0.05531586706638336, 0.0010242076823487878, -0.03227106109261513, -0.005246731918305159, 0.006199278403073549, -0.03064931184053421, 0.04032937064766884, 0.03187816962599754, 0.00536087341606617, -0.009068917483091354, 0.018684105947613716, 0.04537791386246681, -0.00...
<p>The correlation between two ratios with the same denominators are spurious. Similarly, the correlation between two mathematically-coupled variables could also be spurious. Are mathematically-coupled variables (e.g. age and income are used to derive two formulas, which are then used as Y and X in linear regression an...
g38387
[ 0.07858849316835403, -0.022073738276958466, 0.011796829290688038, 0.0003603528020903468, -0.025003699585795403, -0.013709702529013157, -0.02451818250119686, -0.05049934610724449, 0.023765238001942635, -0.026552781462669373, 0.00043778371764346957, -0.016853023320436478, 0.017194677144289017,...
<p>I want to learn the statistics package <a href="http://gretl.sourceforge.net/gretl_and_R.html" rel="nofollow">gretl</a>.</p> <p>My first attempt to do so is to calculate a linear regression model of a set of data:</p> <p>$$y_i = \alpha + \beta x_i + u_i$$</p> <p>First I want to create a crossplot of the data and ...
g41162
[ 0.01865006797015667, -0.006553874351084232, -0.034512147307395935, -0.02584652416408062, 0.005413215607404709, 0.0065099261701107025, 0.02184615097939968, -0.027476206421852112, -0.06374146789312363, -0.008332832716405392, -0.03163624554872513, 0.041942089796066284, 0.012149044312536716, -...
<p>I have been trying to understand a method of finding parameter uncertainties resulting from maximum likelihood estimation. Unfortunately the document I have is not in the public domain however I have found what I think is exactly the same method used in a paper from medicine. Having found it somewhere else has made ...
g26298
[ 0.06398480385541916, -0.01631208136677742, -0.0266782995313406, -0.005955528933554888, -0.015412087552249432, 0.03103834018111229, -0.004174971487373114, 0.043985720723867416, -0.0371956005692482, -0.01253097876906395, -0.03473975509405136, 0.032014355063438416, 0.042865853756666183, -0.00...
<p>could anybody define what is meant by stochastic drift?</p> <p>I <em>think</em> I have a rough idea, say on a random walk X(n)= a + X(n-1) + Z(n) where Z(n) are iid zero mean and constant variance, then E[X(n)] = na. Is this stochastic drift?</p> <p>Many thanks </p>
g26299
[ -0.04483615234494209, 0.0729168951511383, -0.03038756363093853, 0.013537786900997162, 0.03477625921368599, 0.023767691105604172, 0.0679939016699791, 0.009052824229001999, -0.007948976941406727, -0.018209965899586678, -0.019758453592658043, 0.022773820906877518, -0.008287849836051464, 0.003...
<p>When studying math / stats or reading a academic paper often there are theorems, concepts, hypotheses and ideas are inter-connected to each other. These relationships can be a combination of hierarchical and flat network ones. </p> <p>From my own experience the best way to study is to taking notes. So, I am seeking...
g556
[ 0.029274670407176018, -0.015970785170793533, 0.0028280657716095448, -0.027869202196598053, -0.05695844441652298, -0.04332200437784195, -0.015738945454359055, -0.02772829495370388, -0.010524019598960876, -0.01814945414662361, 0.07649867236614227, -0.0883411094546318, 0.0808873251080513, -0....
<p>I am working on a study where I have a sample of 86 students. I have tests for 5th grade, 6th grade, 7th grade, and 8th grade. I think I can run a Repeated Measures ANOVA since I have observations for 4 different occasions. </p> <p>However, I am unsure what my independent and dependent variables are in this set up....
g26300
[ -0.05389779061079025, -0.005627833306789398, -0.02678644098341465, -0.015746554359793663, -0.03038940019905567, 0.012823989614844322, 0.009098263457417488, -0.0167545098811388, 0.007933259010314941, 0.015264375135302544, -0.022011684253811836, 0.032920923084020615, -0.05438116192817688, 0....
<p>If we know that random variables $X$ and $Y$ are positively correlated, do we know that the random variables $Z = \log(X)$ and $W = \log(Y)$ are positively correlated?</p>
g37482
[ 0.009078518487513065, -0.008577315136790276, -0.0013837011065334082, -0.029065905138850212, 0.004099233075976372, -0.02694021537899971, -0.01336238905787468, -0.07705226540565491, 0.005800397135317326, -0.004357363563030958, -0.027741223573684692, 0.032306965440511703, -0.008315048180520535,...
<p>Beginner questions:</p> <p>I want to test whether two discrete data sets come from the same distribution. A Kolmogorov-Smirnov test was suggested to me.</p> <p>Conover (<em>Practical Nonparametric Statistics</em>, 3d) seems to say that the Kolmogorov-Smirnov Test can be used for this purpose, but its behavior "con...
g66979
[ 0.03132585436105728, -0.03694097697734833, 0.003646853845566511, 0.00781638640910387, -0.033958736807107925, 0.00147357233799994, 0.01882748119533062, 0.040372032672166824, -0.01577715575695038, -0.03429321572184563, -0.015023657120764256, 0.003050833707675338, 0.05462517961859703, -0.0123...
<p>I wish to do a principal component analysis (PCA) with a few features (variables). While most of the features have a single numerical value, one feature is an <em>unordered</em> vector of 5 numbers.</p> <p>For example:</p> <pre><code>#observation value_feature1 value_feature2 value_feature_3 obsv1 ...
g66980
[ 0.01738438941538334, -0.021693889051675797, 0.00687610637396574, -0.03608648106455803, 0.010486415587365627, 0.003087530145421624, 0.04310598596930504, -0.02362164482474327, -0.08779840916395187, -0.03624821454286575, 0.007012916263192892, 0.030741466209292412, 0.0029511393513530493, 0.043...
<p>I want to estimate the distribution function of the random variable. Due to the complicate nature of this function, I can be calculated only the first and second order moments(mean and variance) of this variable. Given these circumstances, how can I estimate the approximate distribution function? Thanks to all who h...
g24033
[ -0.024577083066105843, -0.029362071305513382, -0.003053052118048072, -0.0457015223801136, -0.014211018569767475, -0.020063476637005806, -0.014035878702998161, 0.0290614515542984, -0.027328047901391983, -0.0073283021338284016, -0.05746125429868698, 0.023639550432562828, -0.0229880940169096, ...
<p>I'm working on a multi-armed bandit problem where we do not have any information about the reward distribution. </p> <p>I have found many papers which guarantee regret bounds for a distribution with known bound, and for general distributions with support in [0,1]. </p> <p>I would like to find out if there is a way...
g49557
[ 0.04370955377817154, 0.05172038823366165, -0.008101116865873337, 0.008883410133421421, -0.004462398588657379, -0.0010573322651907802, -0.003789944341406226, 0.00986634474247694, -0.05423305928707123, 0.003494315082207322, -0.015161566436290741, 0.017761114984750748, -0.006304838228970766, ...
<p>What should I do if I am getting negative results for Cronbach's alpha? Is there anyway to adjust it?</p>
g66981
[ 0.019715288653969765, -0.06209186464548111, 0.00006477315764641389, 0.016776718199253082, 0.03285862132906914, 0.017694605514407158, -0.005683384370058775, 0.03475369140505791, 0.024528760462999344, -0.03746955469250679, 0.013654780574142933, -0.001244703191332519, -0.031684137880802155, 0...
<p>Suppose I model a data generating process as a hierarchal model and have made some training observation from the process. To learn about the process, with the observations I run the bayesian machinery to calculate posterior for the stochastic parameters of the model. Now I would like to be able to throw out the ...
g66982
[ 0.049768876284360886, -0.03138618916273117, 0.01689528115093708, -0.0946325957775116, -0.0462750680744648, 0.014894869178533554, 0.0003842623555101454, 0.01799881085753441, -0.04032732546329498, -0.043146636337041855, 0.03273927420377731, 0.02968142367899418, 0.026748422533273697, 0.046094...
<p>I calculated a negative lower inner fence value. I've double checked my work but I can't figure out what's wrong. I was under the impression that these values couldn't be outside of the min and max (duh).</p> <p>My values range from 0.06188 to 1.90957 and when I plot them in Graphpad it looks fine. I'm plotting wit...
g26303
[ -0.043022383004426956, -0.018364587798714638, -0.010704569518566132, 0.002748266328126192, 0.002835554303601384, -0.01226608082652092, 0.01192241907119751, -0.015935208648443222, -0.08124810457229614, -0.04458106681704521, -0.02724531665444374, 0.06180427223443985, -0.009628275409340858, -...
<p>I stumbled accross <a href="http://stats.stackexchange.com/questions/2611/how-to-combine-confidence-intervals-for-a-variance-component-of-a-mixed-effects">this</a> related question from 2010, and I wonder if there has been any progress on using multiple imputation for mixed effects models ? I prefer to use R, though...
g66983
[ 0.0393536277115345, -0.08918477594852448, 0.008991884998977184, -0.025488831102848053, -0.028883453458547592, -0.010339648462831974, 0.04047217592597008, 0.04062956944108009, 0.011671413667500019, -0.01472278032451868, 0.02537723258137703, -0.02312389388680458, 0.03384990617632866, 0.01720...
<p>I am relatively new to machine learning and I have a data classification problem where each sample has ~1500 features (continuous) and the category is binary.</p> <p>I want to apply logistic regression, for learning purposes. I have done a vectorized implementation in Python, which works very well and is fast on ot...
g66984
[ -0.0018546722130849957, 0.02425782009959221, 0.016604498028755188, -0.06170547753572464, 0.010646368376910686, -0.05412996560335159, 0.00790006760507822, 0.03791176527738571, -0.09879839420318604, -0.019596265628933907, 0.020389068871736526, 0.038471195846796036, 0.020237425342202187, 0.05...
<p>R's multcompView package offers a seemingly useful set of tools to visualize the results of multiple comparisons, e.g. Tukey HSD analysis, including boxplots and 'letters' to identify significantly-different groups. It also provides a "t" depiction, in which groups are labeled with either a box, a sort of pyramid, o...
g66985
[ -0.039995092898607254, 0.015389957465231419, -0.011553680524230003, -0.0708666518330574, 0.044345155358314514, -0.05905607342720032, 0.058801110833883286, -0.01854194514453411, -0.06147270277142525, -0.03545200079679489, -0.006110880058258772, 0.00011373042070772499, 0.10972856730222702, 0...
<p>Say I want to predict whether or not a project will be profitable. In my sample data, the response variable is actually a continuous variable: the $ profit/loss of the project. </p> <p>Because my ultimate goal is just a binary classification (profitable project or unprofitable project), should I use a classificat...
g66986
[ 0.05642066150903702, -0.03370344266295433, 0.017711492255330086, -0.023334357887506485, -0.022796986624598503, -0.023409955203533173, 0.03148871660232544, 0.001379748689942062, -0.031690482050180435, -0.047072768211364746, 0.059492748230695724, 0.017533309757709503, 0.008577247150242329, 0...
<p>How can you separate a group of points in 3 dimensions into two groups with labels A and B?</p> <p>My approach:<br> If we draw a plane through the cloud of points, the group A can be the points above the plane, and the group B can be the points below the plane.</p> <p>I am not sure if this a legitimate approach. I...
g66987
[ -0.01759641058743, 0.0024250694550573826, 0.01802697591483593, -0.07973311841487885, -0.003820530604571104, 0.03997121378779411, -0.01471957378089428, -0.01583876460790634, -0.0706247091293335, 0.05382371321320534, 0.0520884171128273, -0.0031472789123654366, -0.0004926149849779904, -0.0011...
<p>I am building an interactive forecast tool (in python) as an aid to forecasting that is done in my organisation. To date the forecast process has been largely human driven, with forecasters assimilating the data in their natural neural networks and using their learned gut feel to make predictions. From a long term f...
g66988
[ 0.009701227769255638, -0.03780510649085045, 0.01304515078663826, -0.011350534856319427, 0.019358264282345772, -0.07140099257230759, 0.03529660776257515, 0.029192021116614342, -0.04858576878905296, -0.02436726912856102, 0.025400064885616302, 0.026081988587975502, 0.061742547899484634, 0.053...
<p>I'm reading web pages for goodness of fit tests, when I came to the <a href="http://en.wikipedia.org/wiki/Anderson%E2%80%93Darling_test" rel="nofollow">Anderson&ndash;Darling test</a> and the <a href="http://en.wikipedia.org/wiki/Cram%C3%A9r%E2%80%93von_Mises_criterion" rel="nofollow">Cramér&ndash;von Mises criterio...
g26309
[ 0.08028730005025864, -0.09843466430902481, -0.0253206305205822, -0.0045851245522499084, -0.03183618560433388, 0.012193487957119942, 0.022705107927322388, 0.010827699676156044, -0.01240299828350544, -0.031361114233732224, 0.009947346523404121, 0.0162739809602499, 0.08653194457292557, 0.0349...
<p>Suppose $T$ is a set of transactions containing some paths taken from a set of undirected graphs $G$ whose nodes are all taken from the same finite alphabet $A$. I would now like to extract all frequent cycles (strongly connected components) from $T$ by using the Apriori algorithm. </p> <p>The idea is that since th...
g66989
[ 0.03773338347673416, 0.05736154690384865, -0.008317806757986546, 0.013297135010361671, -0.028632877394557, -0.08648290485143661, 0.041914962232112885, -0.0117725171148777, 0.03839812055230141, 0.022269248962402344, 0.008284707553684711, 0.015995001420378685, 0.0030811550095677376, -0.03446...
<p>Below is a question on a recent actuarial exam, Exam 3L of the CAS. I didn't know whether or not to use the continuity correction when using the normal approximation to do hypothesis testing involving a bernoulli trial. The answer is vastly different (based on the answer choices given in the exam) depending on whe...
g66990
[ 0.08456582576036453, -0.02037663944065571, 0.02401505410671234, 0.009225131012499332, -0.009656195528805256, 0.032962456345558167, 0.05743172764778137, 0.03940602019429207, -0.039656974375247955, -0.004331415519118309, 0.04370628669857979, 0.05004224181175232, 0.0073090484365820885, 0.0172...
<p>I have a nonlinear model with residuals that are negatively autocorrelated at short distances. </p> <p>I can find no spatial correlation structures in <code>nlme</code> that can easily handle negative autocorrelation as most have bounds on parameter values so that the correlation is between 0 and 1. </p> <p>Firs...
g66991
[ 0.04358873516321182, -0.04606374725699425, 0.005840934347361326, -0.04879635199904442, -0.018951771780848503, 0.07078886032104492, 0.002194831147789955, -0.024562444537878036, -0.0329059436917305, -0.0321241095662117, 0.0433386005461216, 0.01427553128451109, 0.023175254464149475, -0.033692...
<p>How to derive the following formula:</p> <p>where $\sigma(y)$ is the standard deviation of $y$ (dependent variable), and $\rho(x,y)^2$ is correlation between $x$ and $y$ squared, $\sigma(\epsilon)$ the standard deviation of the error. </p> <p>$$ \sigma(\epsilon) = \sigma(y) \sqrt{1-\rho(x,y)^2} $$ </p> <p>if $y =...
g26310
[ 0.044580891728401184, -0.01757209375500679, -0.033056922256946564, -0.022690851241350174, 0.013566050678491592, -0.013456826098263264, 0.05949065089225769, -0.03935311734676361, -0.01206990797072649, -0.0027995614800602198, -0.011995292268693447, 0.07596905529499054, -0.00542852096259594, ...