question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I would like to run a regression of the following form:</p> <pre><code>Y ~ B1*predictor1 + B2*predictor2 + B3*predictor3 </code></pre> <p>I would like to specify <code>B1,B2,B3</code> to hold the values: <code>0.4,0.2,0.1</code></p> <p>Is there way to weight these three predictors by the values of <code>B1,B2,B3<...
g59158
[ 0.022224068641662598, -0.03423444181680679, -0.007421382237225771, -0.07671359926462173, 0.08166442066431046, -0.02421976625919342, -0.03573041409254074, 0.019877145066857338, -0.11204051226377487, -0.021272286772727966, -0.003177828621119261, 0.03838072344660759, 0.025315405800938606, 0.0...
<p>I am reviewing a manuscript and am struggling to understand why some statistical techniques were chosen, i.e. what information they can give. The paper looks at the effect of predicting a variable such as temperature based on noisy measurements from different sensors. Can you please correct any errors in the followi...
g43722
[ 0.05105837434530258, -0.06358201056718826, -0.0037339446134865284, -0.01161560881882906, 0.02255554124712944, -0.06971085071563721, 0.03602101653814316, 0.0415290929377079, -0.0695996806025505, -0.023697759956121445, 0.005970489699393511, -0.008454455994069576, 0.06740766763687134, 0.06888...
<p>I have some analysis that compares relative velocity shifts between regions. I have a representative sample below (in reality there are more regions -- this is for clarity).</p> <p>Assume that I have a dataset with 4 regions -- and the possibility of a relative velocity shift between all four. The only method that ...
g14590
[ 0.056242916733026505, -0.04297946020960808, -0.017655322328209877, -0.005307657178491354, -0.0013780922163277864, -0.031134024262428284, 0.0302815493196249, 0.022773945704102516, -0.05870286375284195, -0.030307499691843987, 0.008906143717467785, -0.008108342997729778, 0.02451823651790619, ...
<p>A problem asks us to build a mean equation for a log return series of a stock: "if there are serial correlations in the log return, build a mean equation for the log returns."</p> <p>Does the mention of serial correlations mean we should restrict our search to AR(p) models? Or should I be exploring whether this is ...
g14591
[ 0.009613307192921638, 0.013736317865550518, 0.0008082289714366198, -0.04640042781829834, 0.00976464245468378, -0.027754491195082664, 0.030358904972672462, -0.04635767638683319, 0.00419491995126009, -0.07443509995937347, 0.0023188022896647453, 0.05719123035669327, 0.051394518464803696, -0.0...
<p>I'm working with data on litter (fallen leaves, flowers, etc) accumulating under different genera of trees. I have a year's timeseries for each genus, and I'm really more interested in comparisons among genera than trying to fit regressions to seasonality, etc. I'm thinking to use some sort of timeseries tests becau...
g14592
[ 0.02582075074315071, -0.05673138424754143, -0.030831877142190933, -0.011292709968984127, -0.018501030281186104, -0.007448510732501745, 0.06238662451505661, -0.005064616911113262, -0.01827210932970047, 0.026945805177092552, 0.03847450017929077, -0.05067241191864014, 0.045452140271663666, 0....
<p>I am having trouble coding up in R equation 3.1 in the following paper: <a href="http://www.intelligenthedgefundinvesting.com/pubs/rb-cb.pdf" rel="nofollow">http://www.intelligenthedgefundinvesting.com/pubs/rb-cb.pdf</a></p> <p>My function: </p> <pre><code>expected.drawdown&lt;-function(mn,sd,t){ ret&lt;-mn - ((...
g59159
[ 0.014410601928830147, 0.010173115879297256, -0.022800210863351822, -0.02946394868195057, -0.0018240403151139617, 0.01002306304872036, 0.029935728758573532, 0.025456666946411133, -0.058979328721761703, 0.02304873615503311, 0.03173143044114113, 0.03551779314875603, 0.02177962101995945, -0.03...
<p>I would like to know if it is useful (or maybe dangerous) to reduce the number of attributes (by selecting the most informative ones among thousands) before seeking for latent variables or not (in an exploratory perspective).</p> <p>A subsidiary question: in the same case, would it be beneficial to select the most ...
g14593
[ 0.003859239397570491, 0.0345613993704319, 0.014480333775281906, -0.001814920105971396, 0.024552688002586365, -0.07541143149137497, 0.004979967139661312, 0.0013570123119279742, -0.037877943366765976, -0.017863929271697998, 0.0027478933334350586, 0.04101824015378952, 0.035940904170274734, 0....
<p>I intend to give a one hour lecture to teenagers about statistics. I will probably see them only once. This scenario might happen over and over.</p> <p><strong>I would like to give them some activity to make them experience statistics.</strong> But I am forced to do it with people who do not know anything about ...
g59160
[ -0.0018174602882936597, 0.0036715499591082335, -0.02072681486606598, -0.04676184058189392, 0.026869427412748337, -0.039807967841625214, -0.017077043652534485, 0.0021774270571768284, 0.04948435351252556, -0.05008931830525398, 0.02972865104675293, -0.01591043546795845, 0.03371821716427803, 0...
<p>I'm quite enamoured with likelihood ratios as a means of quantifying relative evidence in scientific endeavours. However, in practice I find that the raw likelihood ratio can get unprintably large, so I've taken to log-transforming them, which has the nice side-benefit of representing evidence for/against the denomi...
g14595
[ -0.011047771200537682, 0.030772218480706215, -0.014776092022657394, -0.10301130264997482, -0.03040326200425625, -0.02525579184293747, 0.03450163081288338, 0.04336659982800484, -0.024524489417672157, 0.011725039221346378, 0.010700557380914688, -0.003850645385682583, 0.09628918766975403, -0....
<p>The whole point of AIC or any other information criterion is that less is better. So if I have two models M1: y = a0 + XA + e and M2: y = b0 + ZB + u, and if the AIC of the first (A1) is less than that of the second (A2), then M1 has a better fit from the information theory standpoint. But is there any cutoff benchm...
g49759
[ 0.036142561584711075, -0.014887427911162376, -0.0038434029556810856, -0.029207943007349968, 0.05223313346505165, -0.041493840515613556, 0.010284927673637867, -0.015585111454129219, -0.054126400500535965, 0.02526804432272911, 0.05681250989437103, 0.0018239354249089956, 0.05579538643360138, ...
<p>In pLSA we are trying to maximize a likelihood function. The likelihood function can be given as:</p> <p>$L = \Pi_i^N \Pi_j^M P(d_i,w_j)^{n(d_i,w_j)}$</p> <p>Where, M is the number of words and N is the number of documents.</p> <p>I didnt understand this objective function. Here are we trying to maximize the like...
g59161
[ -0.00891055352985859, -0.05573250725865364, 0.011239130981266499, -0.001629987615160644, -0.02812034636735916, -0.01424765307456255, -0.037940118461847305, 0.05443207174539566, -0.06665551662445068, -0.01967727020382881, -0.061732660979032516, -0.02244843915104866, 0.05299356207251549, 0.0...
<p>I have a question related to multiple regression and interaction, inspired by this CV thread: <a href="http://stats.stackexchange.com/questions/64949/">Interaction term using centered variables hierarchical regression analysis? What variables should we center?</a> </p> <p>When checking for a moderation effect I do ...
g59162
[ 0.061481866985559464, -0.019640641286969185, -0.004861125722527504, -0.005614359397441149, 0.045023806393146515, -0.0437336340546608, 0.05236443877220154, 0.035926055163145065, -0.0008019215893000364, -0.01049000769853592, -0.04418961703777313, 0.05715252459049225, -0.02396976575255394, -0...
<p>I recall having been told that to generated $p$ variate Marshall Olkin distribution, one proceeds as follow:</p> <p>For $p=2$, generate $X_1,X_2,X_3\sim exp(\lambda)$, then $(Y_1,Y_2)\sim MMO$ where $Y_1=\max(X_1,X_2)$ and $Y_2=\max(X_1,X_3)$. </p> <p>But I must have gotten the definition wrong because this doesn...
g14598
[ 0.016582544893026352, -0.029856732115149498, -0.0041579692624509335, -0.04668497294187546, 0.03547053039073944, -0.032053373754024506, -0.018261421471834183, -0.047918833792209625, -0.012225582264363766, -0.004362011794000864, -0.010861425660550594, 0.048208754509687424, 0.09102421253919601,...
<p>I have an index variable that is calculated as the sum of $N$ random variables:</p> <p>$Y = \sum_{i=1}^N x_i$. </p> <p>I would like to come up with a subset, $\mathcal{S}$, of the $x_i$ such that </p> <p>$Z \equiv \sum_{i\in\mathcal{S}} x_i$</p> <p>is as highly correlated with $Y$ as possible. More specifically,...
g59163
[ -0.013414330780506134, 0.028561169281601906, -0.007170115131884813, -0.048144854605197906, -0.03029228001832962, -0.07817589491605759, 0.035845473408699036, -0.008001100271940231, 0.023075705394148827, 0.022099724039435387, -0.022721124812960625, 0.058546703308820724, 0.0021460019052028656, ...
<p>Related to <a href="http://stats.stackexchange.com/questions/8236/how-to-find-relationships-between-different-types-of-events-defined-by-their-2d">my previous question</a>, I have a dataset of 2D points with an associated label (this label can take 6 different values). As suggested in the answers to my other questio...
g59164
[ 0.027924729511141777, -0.03983282670378685, -0.025122245773673058, -0.035545531660318375, 0.05940021574497223, -0.07444215565919876, 0.03734249621629715, -0.005718793720006943, -0.011745065450668335, -0.034118760377168655, 0.009667550213634968, 0.05287865176796913, 0.04152970761060715, 0.0...
<p>Probably this is a very basic question, but is it possible to compute the full depth of a decision tree given the sample size of the training set, number of its categories, and the feature dimension?</p>
g14602
[ -0.05400799214839935, 0.03099372237920761, 0.024330224841833115, -0.04664767161011696, -0.027942003682255745, -0.03713750094175339, 0.04758458584547043, 0.01466203760355711, -0.05630618706345558, -0.004103025887161493, -0.04575960338115692, 0.03886597231030464, 0.08029615879058838, 0.03682...
<p>Suppose that one can construct an unbiased estimator $X$ of the quantity $E$, is there a way of getting an unbiased and positive estimator of $E^2$? Indeed, if $X_1$ and $X_2$ are two independent copies of the estimator $X$, the quantity $X_1 X_2$ is an unbiased estimator of $E^2$, but is not positive in general.</p...
g59165
[ 0.02101587876677513, -0.029000697657465935, 0.006153188180178404, -0.029629601165652275, -0.014684922993183136, -0.01960425078868866, 0.004768834915012121, 0.020569713786244392, -0.038680046796798706, 0.037511616945266724, 0.013354160822927952, -0.009704398922622204, 0.03638600930571556, 0...
<p>I'm using <a href="https://github.com/JohnLangford/vowpal_wabbit/wiki" rel="nofollow">vowpal wabbit</a> to solve a <a href="https://github.com/JohnLangford/vowpal_wabbit/wiki/Contextual-Bandit-Example" rel="nofollow">contextual-bandit problem</a>. I'm showing ads to users, and I have a fair bit of information about...
g59166
[ -0.03518711030483246, 0.041035693138837814, -0.015942370519042015, 0.009416058659553528, 0.009294775314629078, -0.0318654365837574, 0.03666786849498749, -0.006848029792308807, 0.03870038315653801, 0.048671428114175797, 0.029092244803905487, 0.04716794937849045, 0.021955115720629692, 0.0052...
<p>I have data from three companies that span 10 years. Two sets of variables (mean value of 300 answers pr. year pr. Company), that have the acceptable cronbach's alpha: a) the average employee satisfaction (computed from 3 questions likert from 1-5) b) the average customer satisfaction (computed from 3 questi...
g14605
[ 0.021071666851639748, -0.015279569663107395, -0.011342020705342293, -0.03169627860188484, -0.03343963995575905, -0.016069019213318825, 0.0052146706730127335, 0.03679148107767105, -0.03477375954389572, -0.012887438759207726, 0.046357423067092896, 0.05248654633760452, 0.02403423562645912, -0...
<p>Let's say I have a "mystery classifier". It is a "black box", I don't know exactly what it is doing, I know neither the training set nor the learning algorithm that was used. What I do have is a testing set, and the responses of the "mystery classifier" on this testing set.</p> <p>From this information, what can I...
g59167
[ -0.0007454180158674717, -0.03553387150168419, 0.02217351458966732, -0.0248851478099823, 0.02497117407619953, -0.03379382938146591, 0.05200909823179245, 0.023926081135869026, -0.03397488594055176, -0.05266151949763298, 0.00279065640643239, 0.04665499925613403, 0.07169312238693237, 0.0179033...
<p>This is nowhere near my field of expertise, so if my question is poorly formatted for the context please feel free to edit.</p> <p>My question is at the end of the text below.</p> <p>Let's assume I flip a coin 5 times. It has an entropy of 5 bits, irrespective of if the coin is weighted. Equally if I roll a die 5 ...
g59168
[ 0.013923412188887596, -0.011671111918985844, -0.016430947929620743, -0.09257993847131729, -0.008099256083369255, -0.0676381066441536, 0.017063651233911514, -0.004603060893714428, -0.08569931238889694, 0.014712464064359665, -0.07779766619205475, 0.03308788686990738, 0.032377392053604126, -0...
<p>I have conducted several repeated-measures ANOVA's with post-hoc testing via Tukey's HSD whenever the omnibus F-test was significant. I'm having some confusion about controlling for type 1 errors when presenting these post hoc tests.</p> <p>Q1: It's my understanding that Tukey's HSD will control the Type-1 error ra...
g59169
[ -0.022170044481754303, -0.004037299193441868, -0.004987597465515137, -0.0019170481245964766, -0.014540723524987698, -0.0361284576356411, 0.04837995022535324, 0.05270584300160408, -0.047551967203617096, 0.014373702928423882, -0.0031565504614263773, -0.012605995871126652, 0.014293267391622066,...
<p>I am looking for literature on what I call multivariate proportional data where a single observation is a vector of proportions that sum to 1. For example, each person weights their preferences for each of a fixed number of categories such that the total weight is fixed.</p> <p>More generally this could be multivar...
g43745
[ 0.05121074244379997, 0.014468450099229813, -0.010831762105226517, -0.0433022677898407, -0.04352876543998718, -0.0005158365238457918, 0.011107977479696274, -0.014899756759405136, -0.058205556124448776, -0.002632705494761467, 0.04806378111243248, -0.04435339570045471, 0.07870383560657501, -0...
<p>I have a cluster of $p$-dimensional data from $n$ samples which is assumed to be normally distributed as a multivariate Gaussian with sample mean ${\bar{\mu}}$ and sample covariance matrix ${\bar{S}}$. </p> <p>Given a new sample $x_i$ I want to test whether or not the sample belongs to this cluster. I am doing the ...
g41417
[ 0.0180848129093647, -0.03900008648633957, -0.008566402830183506, -0.026307912543416023, 0.01426689513027668, 0.02863924950361252, -0.020812859758734703, 0.0532209537923336, -0.015104223974049091, -0.040179092437028885, 0.02048083394765854, 0.02768639847636223, 0.034849125891923904, -0.0002...
<p>I'm writing a program to help me gamble on cricket, but have run into a wee problem.</p> <p>I've got loads of data from previous games already and have compiled various stats from it. I have calculated that after 1 over of a 20 over match, the average score is 4.5 runs, and the average final score will be 145. Assu...
g59170
[ 0.005541091784834862, 0.020067613571882248, -0.012746907770633698, -0.010288001038134098, -0.040841273963451385, -0.0021652383729815483, 0.034266386181116104, 0.02465382032096386, -0.037443727254867554, -0.030290108174085617, -0.023249691352248192, -0.006283250171691179, 0.04211859405040741,...
<p>Suppose the cross-sectional model that I wish to estimate via OLS is $Y_{i} = a + b X_{i} + e_{i}$. Say that $Y_i$, $X_i$ and $e_i$ are normally distributed with mean 0 and constant variance. This specification adheres to all Gauss-Markov assumptions.</p> <p>But we don't observe $Y_i$. We instead observe $\hat{Y}_i...
g14610
[ -0.04601861909031868, -0.07106519490480423, -0.014421174302697182, 0.008459401316940784, 0.012280142866075039, -0.00029961986001580954, 0.02038920484483242, -0.0012679981300607324, -0.009355473332107067, 0.04443782940506935, -0.0019304851302877069, 0.0434870719909668, 0.05026247724890709, ...
<p>tl;dr - for OLS regression, does a higher R-squared also imply a higher P-value? Specifically for a single explanatory variable (Y = a + bX + e) but would also be interested to know for n multiple explanatory variables (Y = a + b1X + ... bnX + e).</p> <p>Context - I'm performing OLS regression on a range of variabl...
g59171
[ 0.015414097346365452, 0.005429272074252367, -0.011529545299708843, -0.08416673541069031, -0.010754253715276718, -0.061557646840810776, -0.012688349932432175, 0.0027717563789337873, 0.011461840011179447, -0.019761167466640472, -0.05352892726659775, 0.014833884313702583, 0.06780833750963211, ...
<p>I have a set of data with measurements X1 and X2 across multiple time points, T1, T2 and T3. I would like to conduct a Poisson regression using X1 and X2 on the counts of a phenomenon. An example of how my dataset would like is as follows (pardon my inelegant code):</p> <pre><code>library(lme4) set.seed(888) df &lt...
g59172
[ 0.028557488694787025, -0.04701562598347664, -0.02023238316178322, -0.09678953140974045, 0.0133074214681983, -0.024072252213954926, 0.034666452556848526, 0.009447017684578896, -0.09812456369400024, -0.019914347678422928, 0.012652494944632053, 0.00647890055552125, -0.024240829050540924, 0.00...
<p>The Wikipedia entry on the CLT states at one point: "For fixed large $n$ one can also say that the distribution of $S_n$ is close to the normal distribution with mean $\mu$ and variance $\frac1n\sigma^2$." $S_n = (\sum_{i=1}^nX_n) / n$ and $X_i$ are iids with mean $\mu$ and variance $\sigma^2$.</p> <p>I don't quite...
g59173
[ 0.014982745051383972, 0.01769900508224964, -0.028579333797097206, -0.0348157100379467, -0.03373445197939873, -0.01615024171769619, 0.04933139681816101, -0.05769510939717293, 0.002769060665741563, -0.04465247318148613, -0.05049977824091911, 0.04228423535823822, -0.02085372805595398, 0.04374...
<p>As described in Merlo et al (<a href="http://www.ncbi.nlm.nih.gov/pubmed/16537344" rel="nofollow">J Epidem Comm Health 2006</a>), the 95% credible interval for MOR is calculated using MCMC. MOR is defined as $\exp(\sqrt{2\sigma^2}\times 0.675)$, where $\sigma$ is the level-2 variance of the random intercept $u$ from...
g59174
[ 0.011429138481616974, -0.0522487610578537, -0.03398466110229492, -0.016490284353494644, -0.07546268403530121, -0.013289845548570156, 0.008949799463152885, 0.0350065715610981, -0.0010120718507096171, -0.016841145232319832, 0.02565336413681507, 0.05124625563621521, 0.07463014870882034, -0.01...
<p>I am having trouble generating a set of stationary colored time-series, given the covariance matrix (their PSDs and CSDs). </p> <p>I know that, given two time-series $y_{I}(t)$ and $y_{J}(t)$, I can estimate their power spectral densities (PSDs) and cross spectral densities (CSDs) using many widely available rout...
g38230
[ -0.0005123216542415321, -0.032878775149583817, 0.007851055823266506, -0.07841228693723679, 0.003747557522729039, -0.01386144757270813, 0.006329300347715616, -0.0005119011620990932, -0.08425908535718918, 0.025465520098805428, 0.03330053761601448, 0.04026713967323303, 0.03327656164765358, 0....
<p>Suppose I apply a Box-Cox transformation to my data and now it looks rather like a normal distribution. I then add another dataset, transform it by Box-Cox with the same lambda and run a t-test to compare the means. Would this approach make sense if my data is non-normal by its nature? In other words, is the fact th...
g59175
[ -0.034459080547094345, 0.0008594841347075999, 0.0030855971854180098, -0.044189322739839554, -0.022985709831118584, -0.02337631583213806, -0.01847345009446144, 0.016444658860564232, -0.045760516077280045, -0.030281798914074898, 0.007511170115321875, 0.011305414140224457, 0.06773742288351059, ...
<p>Suppose I want to calculate the average annual growth in GDP per capita from year 1980 to 1988. I suppose this is done by ln(gdp per capita 1998) - ln(gdp per capita 1990) ? So for example:</p> <p>ln(900)-ln(100) / 8 = 0.2747 , so 27.47%.</p> <p>But if I take the start value times the growth increase i get:</p> <...
g59176
[ 0.07275347411632538, -0.01645704358816147, 0.008010486140847206, -0.005743096116930246, 0.016522906720638275, -0.022085122764110565, 0.05433094874024391, -0.032604534178972244, -0.04213614761829376, -0.017206506803631783, 0.03773898631334305, -0.0030043674632906914, 0.06620891392230988, -0...
<p>Is delta (Δ) R² the same as adjusted R² ? </p> <p>I have delta R² in my notes somewhere and it didn't come up on a Google Search.</p>
g59177
[ 0.008065510541200638, -0.07383733242750168, 0.010732399299740791, -0.002478655893355608, 0.05327284708619118, 0.02293599210679531, 0.04566213861107826, 0.045440997928380966, -0.024624863639473915, -0.04145946726202965, -0.03226478025317192, 0.029757214710116386, 0.005111171398311853, 0.032...
<p>I have one conceptual (but sort of vague) question regarding distribution fitting.</p> <p>How many observations one would need to best fit any statistical distribution to given data. Like I am dealing with loss data and in one situation, I had only three observations still I could fit Normal distribution, which in ...
g10073
[ 0.023498564958572388, 0.02331041730940342, -0.00815101433545351, -0.03605906665325165, -0.02361335977911949, -0.01398830022662878, -0.03855425864458084, 0.03058825433254242, -0.03632547706365585, -0.038292065262794495, 0.06001853197813034, -0.04111291840672493, 0.03753777965903282, 0.01935...
<p>I'm confused about the interpretation of interaction terms in poisson regressions. Here's a hypothetical dataset</p> <pre><code>Id Group Condition Error rate 1 A X 1 1 A Y 2 2 B X 3 2 B Y 6 </code></pre> <p>Imagine that individuals 1 and 2 are...
g59178
[ 0.03807150572538376, -0.01710943505167961, -0.017227288335561752, -0.04950020834803581, -0.00008560251444578171, -0.021049927920103073, 0.03976261615753174, 0.021335670724511147, -0.00042364763794466853, 0.001730052987113595, 0.0009815485682338476, -0.02187592163681984, -0.005396236199885607...
<p>I have been studying so many things on factor analysis with categorical variables. I am frustrated studying these many pdfs. I have 40 variables obtained from 40 questions. All of them are categorical. I can take them to be ordinal. The questions are different, so the answers are different too. It is not something l...
g59179
[ 0.0009989014361053705, -0.042198747396469116, 0.011310867965221405, -0.0673472136259079, 0.03149401396512985, -0.024770056828856468, 0.056750860065221786, -0.0053915902972221375, -0.014840452000498772, 0.0007723780581727624, -0.009799737483263016, -0.0017088332679122686, 0.02506025694310665,...
<p>We're looking for clues to perform a Cluster Analysis in a DB with <strong>+400K images</strong> which have keywords associated to them.<br/> Each image could have from 1 to 30 keywords.<br/> Total <strong>keywords count is +35K</strong>.<br/> Keywords are not assigned with uniform criteria, e.g. one dog image can h...
g14612
[ -0.012161186896264553, -0.0035448630806058645, -0.011683549731969833, -0.06695578247308731, -0.004486371763050556, -0.06464970111846924, 0.008717656135559082, -0.00741172069683671, -0.016814500093460083, -0.0029567955061793327, 0.011864349246025085, -0.0064684185199439526, 0.0560662634670734...
<p>I'm trying to use mixfdr in a simulation of p-values but sometimes the search for the penalization parameter spits out an error and shows some matrix entries to be infinite:</p> <pre><code>&gt;m &lt;- mixFdr(stdjk,plots=F,J=3,theonull=F,calibrate=T) Fitting preliminary model [1] 0.750 0.125 0.125 [1] -7412.522 -74...
g59180
[ 0.003886724589392543, -0.022386373952031136, -0.014572186395525932, -0.042273905128240585, 0.0221417173743248, 0.0013745503965765238, 0.03481080010533333, -0.009226128458976746, -0.06211358681321144, -0.025171544402837753, -0.012903501279652119, -0.028835272416472435, 0.030959658324718475, ...
<p>Attempting to do loess on two variables <code>x</code> and <code>y</code> in R using MA normalization(see <a href="http://en.wikipedia.org/wiki/MA_plot" rel="nofollow">MA-plot</a>; see also <a href="http://en.wikipedia.org/wiki/Tukey_mean-difference_plot" rel="nofollow">Bland-Altman or Tukey mean-difference plot</a>...
g59181
[ 0.05098726600408554, -0.08269660174846649, -0.009055960923433304, -0.06887678802013397, -0.00024330879386980087, -0.04102609306573868, 0.01593434251844883, 0.04891278222203255, -0.015557718463242054, -0.012030479498207569, -0.02966584637761116, 0.09562494605779648, 0.07705876231193542, 0.0...
<p>Consider the following pmf for a discrete random variable $X$: $f(x) = x/15$ when $x = 1, 2, 3, 4, 5$, and $f(x)= 0$ for all other values of $x$. What is $f(3)$? (I.e., the PMF evaluated at 3)</p>
g59182
[ 0.005360830575227737, -0.023590488359332085, -0.011652329936623573, -0.06573456525802612, 0.020002413541078568, -0.01647956296801567, 0.005989775527268648, -0.03303556889295578, -0.02464151568710804, -0.09796003252267838, -0.040873728692531586, 0.019115017727017403, -0.014390985481441021, ...
<p>This question is not about interaction effect, but about interaction model in Hierarchical Linear Regression. I have 1 DV and 5 IVs. I want to see which of the IVs is significant predictor of DV. Although I am not controlling for any moderator variable here, but to do multiple regression I had to use hierarchical s...
g14613
[ 0.020527958869934082, -0.00995207205414772, 0.011675434187054634, -0.021159010007977486, 0.02695327438414097, -0.023134712129831314, 0.02768694795668125, 0.05968751385807991, -0.009269964881241322, -0.022424407303333282, -0.06476414948701859, 0.037394825369119644, 0.0005947591853328049, 0....
<p>How would I integrate the output of a principal components analysis with a GLM (assuming the PCA is used for variable selection for the GLM)?</p>
g14614
[ 0.05023568496108055, -0.05224500596523285, 0.017201129347085953, -0.016932472586631775, -0.044603511691093445, -0.03888625279068947, 0.053628306835889816, -0.0165092870593071, -0.037476882338523865, -0.006705338601022959, 0.01731216162443161, 0.012261797674000263, 0.0025280641857534647, 0....
<p>This is my first post, so sorry if it not optimally written. I have a paired samples at two time points in two groups, undergoing the same intervention. I want to test the effect of my intervention on weight.</p> <p>I'm using R. Here's some data to illustrate: my data frame called <code>df</code>:</p> <pre><code> ...
g59183
[ 0.010394367389380932, -0.07844384759664536, -0.003019995056092739, -0.04160652682185173, 0.017493348568677902, -0.02849857695400715, 0.08421996980905533, 0.02589995600283146, -0.0580068975687027, 0.015193500556051731, -0.003146859584376216, 0.015697559341788292, -0.019155556336045265, 0.00...
<p>For several days, I collected a series of data analysis results for given data with different statistical methods, different sample size, different other analysis parameters, and so on. So right now, I have 100 or so analysis results sorted by test data error rate. </p> <p>Is there any way to group top of the resu...
g43761
[ 0.005420696455985308, -0.027484117075800896, -0.00900330115109682, -0.04554206505417824, -0.0140951257199049, -0.06149908900260925, 0.00863817147910595, -0.03647316247224808, -0.04936309531331062, -0.03958822414278984, 0.032365113496780396, 0.03192134574055672, 0.07986025512218475, 0.00901...
<p>Could an inappropriate link function contribute to non-uniform residuals in a GLM, or could that only be caused by an inappropriate error structure? </p>
g43762
[ 0.0076036034151911736, -0.026471488177776337, -0.013413077220320702, -0.014192565344274044, -0.020296713337302208, 0.012848827056586742, 0.026100024580955505, -0.004277232568711042, -0.04994429647922516, -0.026029599830508232, 0.005164020229130983, -0.002020102459937334, -0.01570656709372997...
<p>Let's say that we have a model:</p> <p>$y + x = \epsilon$, $\epsilon \sim N(0, 1)$.</p> <p>After observing a value for $y$, we can write $x$ as:</p> <p>$x = \epsilon - y$</p> <p>Since $y$ is just a constant, and $\epsilon$ is standard normally distributed, it seems that we can claim:</p> <p>$\epsilon - y \sim N...
g14618
[ 0.026977304369211197, -0.045562081038951874, -0.04301043972373009, -0.024908917024731636, 0.06543365865945816, -0.01982622779905796, 0.04719005897641182, 0.03914209455251694, -0.05531078949570656, -0.018312474712729454, 0.040378160774707794, 0.022643933072686195, 0.03541834279894829, 0.007...
<p>I don't know much about stats so I'm looking for a starting point here. Any resources or insights would be helpful.</p> <p>I'm conducting an e-learning experiment, in which students watch videos and then complete a survey which measures cognitive load and user satisfaction, and afterwards they complete a short asse...
g59184
[ -0.05776150897145271, 0.005197362974286079, -0.004074851516634226, -0.07044582068920135, 0.014912725426256657, 0.009299769066274166, 0.002944615203887224, -0.011620372533798218, 0.009090997278690338, 0.040449950844049454, 0.07125435024499893, -0.015004478394985199, -0.0129469595849514, 0.0...
<p>I have plotted price histograms which seem to follow and exponential tail very well.</p> <p><img src="http://i60.tinypic.com/24dr3vr.png"></p> <p>However, I would also like to parametrize the initial peak in the low price range.</p> <p>Can suggest what distribution would be appropriate for this? How can I researc...
g59185
[ 0.025213953107595444, 0.05599841848015785, -0.05290037393569946, -0.028668567538261414, -0.006077307742089033, -0.04326653853058815, -0.0013628591550514102, -0.033726613968610764, -0.023275624960660934, 0.002098066732287407, -0.003070739097893238, 0.04259694740176201, 0.07475309073925018, ...
<p>Thru <a href="http://www.sankey-diagrams.com/">this site</a> I've recently discovered Sankey Diagrams, a great way to visualize what is happening in a <em>traditional</em> flow chart.</p> <p>Here is a good example of a Sankey Diagram by <a href="http://www.ce.cmu.edu/~gdrg/readings/2007/03/13/Whitesides_Dont_Forget...
g14622
[ 0.007840752601623535, -0.03352903202176094, -0.01561446487903595, -0.024716831743717194, 0.0039631095714867115, -0.06853692978620529, 0.017834799364209175, -0.0188869871199131, -0.029877105727791786, -0.03675389662384987, 0.09615419805049896, 0.005804387852549553, 0.11602189391851425, -0.0...
<p>I am a Ph.D. candidate of Applied Linguistics. Currently I am involved in a research study about English teachers' provision of corrective feedback on English L2 learners' errors. I have divided the teacher participants into two groups. </p> <p>I want to juxtapose the groups in terms of the number (frequency) of co...
g59186
[ -0.01779949851334095, -0.020889023318886757, 0.014508862979710102, -0.07403211295604706, 0.013795480132102966, -0.03614950552582741, 0.05077178403735161, 0.023667078465223312, -0.038510922342538834, 0.046326179057359695, 0.09129539877176285, 0.00999120157212019, 0.04209668189287186, 0.0693...
<p>I collect $n$ ($&lt;20$) i.i.d. observations from any distribution. In order to compute the sample variance, I take $$s^2=\sum_i \frac{(\bar{X}-X_i)^2}{n-1}$$</p> <p>If I want to build a confidence interval for the mean, I need the standard error of the sample mean. Do I divide by $n$, or by $n-1$ again?</p> <p>$...
g14623
[ -0.03153800591826439, 0.018101714551448822, -0.04942410811781883, -0.023596404120326042, -0.023138195276260376, 0.0028636872302740812, 0.009270637296140194, 0.014427891001105309, -0.044554345309734344, -0.0037622784730046988, -0.016279488801956177, 0.049741338938474655, -0.004819629713892937...
<p>I have conducted Pearson's correlation in R and need help interpreting the results.</p> <pre><code>Pearson's product-moment correlation data: A.C$Average.tortuosity and A.C$Area t = -0.6168, df = 14, p-value = 0.5473 alternative hypothesis: true correlation is not equal to 0 95 percent confidence interval: -0.60...
g859
[ 0.04622332751750946, -0.04940599575638771, -0.014569939114153385, -0.02972203865647316, 0.047222331166267395, -0.0002267292729811743, 0.059772789478302, 0.009146781638264656, -0.026054058223962784, -0.0021273212041705847, 0.04863462597131729, 0.003638674272224307, 0.009614276699721813, -0....
<p>I have a csv data set like this.</p> <pre><code>Levels, Trial, Fail 1,100,1 2,200,3 3,300,4 </code></pre> <p>How do I test if the probability of fail or success is the same across all the levels? </p>
g59187
[ -0.042712558060884476, -0.0033330945298075676, -0.008536944165825844, -0.005657379049807787, 0.015661973506212234, 0.018173759803175926, 0.03190234676003456, -0.02022894285619259, -0.06658519059419632, -0.05688042938709259, -0.043985992670059204, 0.02478974685072899, 0.0262176301330328, 0....
<p>This question is about Bayesian Networks. I want to calculate the probability for certain events to be in a certain state knowing all conditional probabilities.</p> <p>Consider that I am totally new to Bayesian Networks.</p> <h1>The problem</h1> <p>Consider a Bayesian Network. For all variables $A_i,B_i \dots Z_i...
g59188
[ 0.018285103142261505, 0.040425900369882584, 0.009593430906534195, 0.011403486132621765, 0.020519157871603966, -0.010979385115206242, 0.019058331847190857, 0.01871716044843197, -0.002562303561717272, -0.03232239931821823, 0.0072371214628219604, -0.008953406475484371, -0.011461954563856125, ...
<p>I am running a probit regression with glm. I got a non-significant value (p~0.98) for an interaction that other statistical methods suggested should be significant. Looking into it, I think it's because 1 of the cells had zero positive ("YES") outcomes. When I artificially change a data point so that there's one ...
g14628
[ 0.012784330174326897, -0.006032777950167656, 0.013156227767467499, -0.024525539949536324, 0.052277822047472, 0.009295199997723103, 0.03993243724107742, 0.024072740226984024, -0.08903662115335464, -0.05432187020778656, 0.04512222483754158, -0.00031148974085226655, 0.05576099827885628, 0.008...
<p>I am trying to test whether or not there is a significant difference between maximum likelihood estimates of two genetic parameters (selection and dominance) across two environments with genotype data from a cross. There are three genotype classes, C11, C12, and C22, and I am looking to maximize the likelihood below...
g14629
[ -0.013322493992745876, -0.07312919199466705, 0.022816315293312073, 0.0038318524602800608, 0.002449158113449812, 0.00366295431740582, 0.06706084311008453, 0.011532417498528957, -0.04234492406249046, 0.023170720785856247, 0.015074196271598339, 0.04962509498000145, 0.017116405069828033, 0.032...
<p>I have an exam coming up and I would like to know are there youtube videos/playlist or any videos online that can explain the following concepts below in a simple manner.</p> <p>The concepts are:</p> <p>(Descriptive Statistics)</p> <p>Scales of measurement</p> <p>Histograms and other plots</p> <p>Empirical rule...
g14630
[ 0.013970858417451382, 0.02693130448460579, -0.0321095734834671, -0.04100127890706062, 0.026337839663028717, -0.015054288320243359, -0.016516966745257378, 0.03751620277762413, 0.000556780316401273, -0.009832564741373062, 0.026145296171307564, -0.01475631631910801, 0.03028690256178379, 0.033...
<p>I am reading a text book on missing data, and a sentence below is slightly challenging for me to understand.</p> <blockquote> <p>The marginal probability density of $ \left ( x_{obs}\ \right)$ is obtained by integrating the missing data $ \left ( x_{miss}\ \right)$ $$ f\left ( x_{obs}|\theta \right )=\int_{}^{...
g14635
[ 0.053259722888469696, 0.03023882582783699, 0.006252978462725878, -0.01885760761797428, -0.007411641534417868, 0.03299958258867264, 0.040539175271987915, -0.03216392919421196, -0.034190382808446884, -0.02086092159152031, -0.005102080758661032, 0.013499252498149872, 0.05463733524084091, -0.0...
<p>I am doing some experiments with <a href="http://en.wikipedia.org/wiki/Linear_discriminant_analysis" rel="nofollow">LDA</a> (<em>Linear Discriminant Analysis</em>), in python.</p> <p>Now I am at the point in which I would like to display the separation planes in the 3-dimensional feature space.</p> <p>I tough that...
g59189
[ 0.0050123934634029865, -0.014615285210311413, 0.0028646455612033606, -0.067729152739048, 0.03350381925702095, -0.0406925193965435, 0.05659348517656326, 0.031264759600162506, -0.03745770826935768, -0.014120619744062424, 0.021057961508631706, 0.05070064961910248, 0.06086724251508713, 0.03541...
<p>I am plotting GDP against exports for 134 countries. I have data for three years. For each year I can easily plot these scatter dots and see the relative country positions but I am interested in the change in positions in the graph for each country. In other words, I'd ideally like to plot GDP against exports for al...
g59190
[ 0.03432993218302727, 0.023782888427376747, -0.019620342180132866, -0.03466470539569855, -0.05942805856466293, -0.022445935755968094, 0.0635644793510437, -0.0577404610812664, -0.024404557421803474, 0.03069101646542549, 0.01718778721988201, 0.0362706258893013, 0.0796462893486023, -0.03601577...
<p>I've got a problem that can be summarized as a linear regression. Thus it takes the following form:</p> <p>$$ Y=X \beta +\epsilon $$</p> <p>where $Y$ and $\epsilon$ are vectors of size $N\times1$, $X$ is a matrix of size $N\times3$, and $\beta$ is a vector of size $3\times1$ (i.e., I am solving for three parameter...
g59191
[ 0.038588255643844604, -0.01568434201180935, -0.009820260107517242, -0.04493998736143112, 0.04519742727279663, -0.08185098320245743, 0.018456872552633286, -0.000663642305880785, -0.036796215921640396, 0.00314534199424088, 0.006052793934941292, 0.026225734502077103, -0.0037771635688841343, 0...
<h2>Background</h2> <p>There is a data set from a clinical trial, involving about 1000 patients received an behavior intervention. The intervention is supposed to affect a variable x1, and the change in x1 results the change in the response variable y.</p> <p>The data also contains the information of several(>10) sni...
g59192
[ -0.010486186482012272, -0.029156852513551712, -0.014812493696808815, 0.00665217125788331, 0.020230712369084358, -0.043437790125608444, 0.009294210933148861, 0.05610416457056999, -0.0018821648554876447, 0.02351365052163601, -0.04220560938119888, 0.03960886597633362, -0.0030105160549283028, ...
<p>Can <a href="http://www-stat.stanford.edu/~jhf/ftp/trebst.pdf" rel="nofollow">Friedman's gradient boosting machine</a> achieve better performance than random forests? If so, in which conditions or what kind of data set can make gbm better?</p>
g59193
[ -0.040316060185432434, 0.019345229491591454, 0.0018477767007425427, -0.04735463485121727, 0.033439964056015015, 0.010626500472426414, 0.00881970301270485, 0.026016708463430405, -0.05459021404385567, 0.02895970270037651, 0.03640015423297882, 0.034004777669906616, 0.04067406803369522, 0.0313...
<p>I am reading a very interesting article by <a href="http://arxiv.org/pdf/1011.2077.pdf">Sellers and Shmueli</a> on regression models for count data. Near the beginning (p. 944) they cite <a href="http://rads.stackoverflow.com/amzn/click/0412317605">McCullaugh and Nelder</a> (1989) saying that negative binomial regre...
g10168
[ -0.01383447740226984, -0.007433454971760511, -0.01587780937552452, -0.004265682306140661, -0.01395567599684, 0.009795083664357662, 0.023626292124390602, 0.021936235949397087, -0.011364082805812359, -0.011672461405396461, 0.019836079329252243, 0.002359694568440318, -0.016567153856158257, 0....
<p>I use a state space model to fit observations to a population dynamic model (using the BUGS language).</p> <p>In the "state" part, the dynamic model create a new "state" of the population (i.e. size and structure) for each year modeled.</p> <p>In the "observation" part, several outputs of the "state" part are fitt...
g59194
[ 0.03234736993908882, -0.008229456841945648, -0.018937932327389717, -0.047099776566028595, 0.00239182123914361, 0.03921138867735863, -0.023987242951989174, 0.0024193618446588516, -0.05675936117768288, -0.009536437690258026, 0.03089732676744461, -0.01736738719046116, 0.07072800397872925, 0.0...
<p>In order to linearize my model I use $\ln(x+1)$, so I come up with the following equation: $$ \ln(y+1) = b_0 + b_1 \ln(x_1 + 1) + b_2\ln(x_2+1) + \cdots + b_n\ln(x_n+1). $$ I hypothesize based on latent (unobserved variables), and as measures I use observed variables (or proxies) - the ones in the equation. My plan ...
g14642
[ -0.0016430718824267387, -0.05572959780693054, 0.01208717841655016, -0.037634070962667465, 0.026694944128394127, -0.015852835029363632, -0.01262244675308466, 0.06316816061735153, 0.02139400504529476, -0.028336739167571068, 0.027403101325035095, 0.008075547404587269, 0.00674335565418005, -0....
<p>Suppose you are given an odds ratio of an interaction term in logistic regression. Is the coefficient associated with this odds ratio simply $\log( \text{OR})$?</p>
g49549
[ 0.026231059804558754, -0.010613854043185711, 0.012240637093782425, -0.013155867345631123, -0.009985026903450489, -0.0841904804110527, 0.008669408038258553, -0.023356040939688683, 0.007104841526597738, -0.042343877255916595, -0.024810435250401497, -0.00033942065783776343, 0.05116832256317139,...
<p>Suppose we're given an N dimensional data to classify. To cope with this task we may choose a classifier that suits our desires more. However obviously not every classifier is capable of classifying every data for many reasons including its VCD. Now I want to know is there a way to compute the minimum required VC-di...
g59195
[ -0.012074758298695087, -0.0003426889597903937, 0.006472325883805752, -0.06346771866083145, -0.05270200967788696, -0.00871601514518261, 0.013063106685876846, 0.0070516737177968025, -0.06816770881414413, -0.025143582373857498, 0.011163467541337013, 0.06630901247262955, 0.029040297493338585, ...
<p><em><strong>I will be performing my analysis in R but any general mathematical-based answers will be appreciated.</em></strong></p> <p>I realize similar questions have been asked before but I am new to statistics so please excuse my ignorance. I do not know enough to be sure that approaches used in other threads I ...
g14646
[ 0.03892740234732628, -0.023729482665657997, -0.02253648452460766, -0.05590825900435448, -0.04326414689421654, -0.002473054686561227, 0.023608364164829254, -0.008173052221536636, -0.024334033951163292, -0.0056401886977255344, 0.01342256460338831, 0.02466696873307228, 0.06297368556261063, -0...
<p>I'm working on a meta-analysis of prevalence data. The aim is to get estimates of prevalence at the country level. The main issue is that the disease is highly correlated with age, and the sample ages of included studies are highly heterogeneous. Only median age is available for most studies, so I can't use SMR-like...
g14648
[ -0.0007889850530773401, -0.03530467301607132, -0.011555365286767483, -0.022698944434523582, 0.011580555699765682, 0.03346719965338707, 0.03670142590999603, 0.02917463332414627, 0.015932241454720497, -0.010024376213550568, 0.017199387773871422, 0.027165884152054787, 0.037450890988111496, 0....
<p>I wish to compare two test data sets using the Mann-Whitney U and KS tests in R. </p> <p>As a start, I thought to compare two similar sets (an A/A test) expecting to see a highly significant indication of similarity.</p> <p>The two lists are these shown below:</p> <p><a href="https://www.dropbox.com/s/9cbvzlltdo...
g49294
[ 0.012374723330140114, -0.02082250639796257, -0.014691862277686596, 0.0029325177893042564, -0.010347184725105762, 0.04428526386618614, 0.0026357846800237894, 0.024047577753663063, -0.04403141140937805, -0.05934274569153786, 0.02664213255047798, 0.038862187415361404, 0.04520906135439873, 0.0...
<p>Consider an empirical processes $\{v_T(\theta), T\geq 1 \}$ and assume it is weakly convergent to the stochastic process $\{ v(\theta); \theta \in \Theta\}$., i.e. $$ E^*(f(v_T(\theta)))\rightarrow E(f(v(\theta))) $$ as $T\rightarrow \infty$ $\forall f$ bounded uniformly continuous function in $\Theta$ and $\forall...
g59196
[ 0.05197915434837341, -0.02150094322860241, 0.0017865111585706472, -0.0026091202162206173, 0.026030736044049263, 0.01751462183892727, 0.02465401217341423, 0.026825901120901108, -0.03858406841754913, 0.007250955794006586, -0.03931175544857979, 0.00020272914844099432, 0.010152263566851616, 0....
<p>First of all sorry for the bad title. I picture this is a standard problem, i just don't know how to deal with it</p> <p>I have the following model</p> <p>\begin{equation} Y_{ij} = \mu + E_i + \varepsilon_{ij} \end{equation} Where $1 \leq i \leq N$ and $1 \leq j \leq M$. And $E_i \sim \mathcal{N}(0,\sigma^2_E$) an...
g59197
[ -0.00742544699460268, -0.0220711138099432, -0.011800958774983883, -0.0066758026368916035, -0.013434297405183315, -0.04305019602179527, 0.05615175887942314, 0.014615356922149658, -0.02096305415034294, 0.012877623550593853, -0.05141673982143402, 0.05835708603262901, 0.0038550791796296835, 0....
<p>In the classical linear model with $$Y=X\beta +\epsilon,$$ where $Y \in \mathbb{R}^n$ is the observation, $X\in \mathbb{R}^{n\times p}$ is the known covariates, $\beta \in \mathbb{R}^p$ is the unknown parameter with, $p &lt; n$, and $\epsilon \in \mathbb{R}^{n}$, $\epsilon \sim \mathcal{N}(0,\sigma^{2}I)$.</p> <p>...
g59198
[ 0.010223682038486004, -0.04546371474862099, -0.02406497858464718, -0.025190116837620735, 0.08272440731525421, -0.02336243726313114, 0.05569874495267868, -0.004159360658377409, -0.001292473403736949, 0.003447816241532564, -0.029462888836860657, 0.05268722400069237, 0.004190666601061821, 0.0...
<p>I am trying to learn few things about generalized least square regression modeling.<br> Here are the models that I am using.,</p> <p>X1 ~ Y1 + Y2,</p> <p>X2 ~ Y1 + Y4,</p> <p>All predictor variables, Y1, Y2 and Y4 are significantly related with the response variables, but when I took the difference of two respons...
g59199
[ -0.0076226056553423405, -0.06669009476900101, 0.0004309190553613007, -0.03131314739584923, 0.053553808480501175, 0.0114624397829175, 0.032620567828416824, 0.022837409749627113, 0.013065731152892113, -0.03893694281578064, -0.03935760632157326, 0.032475169748067856, 0.05931968614459038, 0.01...
<p>Does anyone know of a "community stability" measure that is already implemented in iGraph/R??</p> <p>My approach is to permute the adjacency matrix and compute the association in the cross-frequency table between the original community membership and the membership in the new community structure from the perturbed ...
g59200
[ -0.01058175042271614, -0.0008579393615946174, -0.004773433320224285, -0.0744059607386589, 0.03822212293744087, -0.09602636843919754, 0.041801970452070236, -0.0124350031837821, -0.03510254621505737, 0.04078521206974983, 0.023500865325331688, 0.03769047558307648, -0.03128041699528694, 0.0108...
<p>Some time ago, Persi Diaconis was discussing probability and made the point that the level of information a person possessed about an event played a role in his accessing probabilities. To illustrate this point, he did a very nice demonstration showing how a magician can toss a fair coin in such a way that he will a...
g59201
[ 0.029688671231269836, 0.03211564943194389, -0.019293127581477165, -0.061412520706653595, -0.026971811428666115, -0.004089857451617718, 0.007462202105671167, 0.007968345656991005, -0.025785883888602257, -0.0480787493288517, 0.003622241085395217, 0.019209304824471474, 0.05922495946288109, -0...
<p>I am looking for an equation to calculate appropriate intervals to designate values as very low, low, medium, high, very high for dynamic data.</p> <p>for example if my dataset ranges from 0 to 100 very low= &lt;=20, low=21-40, medium=41-60, high=61-80, very high= >81</p> <p>However, if the range is small there sh...
g59202
[ 0.03110363893210888, 0.0379897765815258, -0.01922132633626461, -0.058615006506443024, -0.03768720477819443, -0.034843239933252335, 0.008537816815078259, 0.01988406293094158, -0.042800188064575195, -0.04588764160871506, -0.008645826950669289, 0.0875326618552208, 0.07923484593629837, 0.01210...
<p>So, I am mining patterns in a sequence like, ("a0cc0vaaaabaaadbaaabbaa00bvw"). Now, I came up with this.</p> <p>So, I am mining patterns in a sequence like, <code>("a0cc0vaaaabaaadbaaabbaa00bvw")</code>. Now, I came up with this. </p> <pre><code>reps &lt;- function(s, n) paste(rep(s, n), collapse = "") # repeat s ...
g59203
[ 0.006187231745570898, -0.00960450991988182, -0.005095623433589935, -0.05866207554936409, 0.06470195204019547, -0.012857523746788502, -0.0017240712186321616, 0.020983710885047913, -0.055929895490407944, -0.002304371912032366, -0.07204597443342209, 0.031733784824609756, 0.017319146543741226, ...
<p>i am a complete nooby in statistics, therefore the question i am about to ask may sound very unprofessional <strong>warning</strong> :)</p> <p>so, we have a task to simulate a G/G/1 queueing system for particular parameters (Erlang distribution is assumed). I have been able (hopefully) to find out what mean and num...
g59204
[ 0.00032738115987740457, 0.06091512739658356, -0.009227585978806019, -0.07703443616628647, 0.05204933136701584, -0.004053302109241486, 0.00793168880045414, -0.01544155552983284, 0.004428322892636061, -0.01146569475531578, -0.064417764544487, 0.044618766754865646, 0.05685635283589363, -0.018...
<p>I am currently measuring the execution time of a program I have written, but I am unsure how to represent the results. The program has two modes: normal mode and analysis mode. In analysis mode, it always runs slower than in normal mode. I am interested in the slowdown factor incurred by the analysis mode.</p> <p>I...
g59205
[ 0.05372874438762665, -0.009201142005622387, -0.009743752889335155, -0.06893768906593323, 0.0422249436378479, -0.041567184031009674, 0.10458274185657501, 0.025782527402043343, -0.06749709695577621, -0.0090921176597476, -0.010018190369009972, -0.003211171133443713, 0.05090587958693504, 0.065...
<p>I have $N$ datapoints that have $d$ features in a GP and their covariance matrix $K$ and I want to calculate the differential entropy of that GP.</p> <p>Is this formula right?</p> <p>$E(I)= \frac{1}{2} \log((2πe)^d \det(K))$</p> <p>Moreover, given $L$ the cholesky decomposition of $K$ is there a faster way?</p> ...
g59206
[ -0.018216373398900032, -0.01123799942433834, -0.04126444458961487, -0.039098482578992844, 0.045888740569353104, -0.024876652285456657, 0.039910003542900085, 0.03982460871338844, -0.07719534635543823, 0.03254527226090431, -0.013736637309193611, 0.040385160595178604, 0.05111780762672424, -0....
<p>I applied quantile regression on some data and did it for tau = 0.25, 0.5, 0.75. After i got the estimates of each model, i did some cross validation on my hold out data. When i used the estimates for my hold out data i calculated in what quantile each of my independent variables lie, 25%, 50% or 75%. For instance i...
g59207
[ 0.010642067529261112, -0.05950961634516716, 0.008286387659609318, 0.00057493761414662, 0.04061078280210495, 0.024388957768678665, 0.03968389704823494, -0.02119496278464794, -0.058655306696891785, -0.0004242001159582287, 0.009718175046145916, 0.025598345324397087, -0.010785628110170364, 0.0...
<p>In a previous thread, Computing the Decision Boundary of a linear SVM model(<a href="http://stats.stackexchange.com/questions/5056/computing-the-decision-boundary-of-a-linear-svm-model">Computing the decision boundary of a linear SVM model</a>), the following R code was given as a way to compute the formula of the h...
g59208
[ 0.024045871570706367, 0.010019754059612751, 0.014245878905057907, 0.058017365634441376, 0.03455496206879616, -0.04100533574819565, 0.020774099975824356, 0.03524138778448105, -0.054256830364465714, -0.022789698094129562, 0.057924121618270874, 0.024638647213578224, 0.025338275358080864, 0.06...
<p>I am evaluating the effectiveness of 5 different methods to predict a particular binary outcome (call them 'Success' and 'Failure'). The data look like so:</p> <pre><code>Method Sample_Size Success Percent_Success 1 28 4 0.14 2 19 4 0.21 3 ...
g59209
[ -0.009464483708143234, -0.0309207234531641, 0.004812728147953749, -0.05520318076014519, -0.02195972017943859, -0.06084147095680237, 0.04392707720398903, -0.02773175574839115, -0.05310586467385292, 0.007234722375869751, 0.017240280285477638, 0.012355322018265724, 0.014747380279004574, 0.038...
<p>I have a data set, with each variable taking multiple values on a nominal scale. Separate raters could rate a given unit using more than one value per variable. That is, there are multiple ratings per unit/rater.</p> <p>How to proceed from here?</p> <p>I am aware that there are extensions of kappas (Fleiss) to sup...
g3225
[ -0.007606477476656437, 0.002146984450519085, -0.020551759749650955, -0.026494905352592468, -0.010645824484527111, -0.023115120828151703, -0.0960676446557045, 0.023026635870337486, -0.06463707983493805, -0.01399548351764679, 0.022312456741929054, -0.0309771578758955, 0.05355222523212433, 0....
<p>Suppose you had a bag with $n$ tiles, each with a letter on it. There are $n_A$ tiles with letter 'A', $n_B$ with 'B', and so on, and $n_*$ 'wildcard' tiles (we have $n = n_A + n_B + \ldots + n_Z + n_*$). Suppose you had a dictionary with a finite number of words. You pick $k$ tiles from the bag without replacement....
g59210
[ -0.010316994972527027, 0.04237038642168045, 0.025567559525370598, -0.044782139360904694, -0.03226823732256889, -0.005135702900588512, -0.00801832415163517, 0.044520895928144455, 0.010510049760341644, -0.004796516615897417, -0.07418041676282883, -0.03247668966650963, 0.03313151001930237, 0....
<p>I am wondering if there are any algorithms (perhaps genetic algorithms) in R for feature construction (deriving candidate predictors from existing predictors)? I am thinking of a routine to test higher order powers, interactions, ratios, and linear combinations and nonlinear functions of existing variables (sin, cos...
g59211
[ 0.020255830138921738, -0.12337656319141388, -0.0009413064108230174, -0.001621683593839407, -0.04186295345425606, -0.0814208909869194, 0.023284094408154488, 0.039962396025657654, -0.0461471825838089, -0.013419555500149727, 0.00022124702809378505, 0.023979363963007927, 0.04451301321387291, 0...
<p>I have performed a simple regression of the following form:</p> <p>$y_t$ = $\beta_1x_{1,t}$ + $\beta_2x_{2,t}$ + $\beta_3x_{3,t}$</p> <p>the $R^2$ turns out to be 38%. </p> <p>$\hat\beta_1$ = 0.7 (significant at the 1%-level)</p> <p>$\hat\beta_2$ = 2.3 (significant at the 1%-level)</p> <p>$\hat\beta_3$ = 4.8 ...
g59212
[ -0.009657460264861584, -0.03535524755716324, -0.007978535257279873, 0.027010977268218994, 0.1048823893070221, -0.005985599011182785, 0.05207648500800133, 0.039923880249261856, -0.030508236959576607, -0.016647111624479294, -0.07797723263502121, 0.02977144904434681, 0.03589623048901558, 0.01...
<p>The following is a question from an exam paper on evaluating the performance of search engines. To this day I looked in my text book and literally close to 50 web pages and I can't<br> find one convincing argument for any of the cases. Can anyone help shed a light on this?</p> <p>You have developed a new retrieval ...
g108
[ -0.006621148437261581, 0.019947810098528862, -0.006324249319732189, -0.05460240691900253, 0.022893201559782028, -0.050802309066057205, 0.03220011666417122, 0.024969283491373062, -0.023707229644060135, 0.0030186977237462997, 0.016573917120695114, 0.011704661883413792, 0.02358858473598957, -...
<p>I have two related questions regarding the computation of a non-parametric bootstrap confidence interval for the prediction error.</p> <p><strong>Setting:</strong> I have a sample S from a data population P and a learner L, and I want to compute a 95% confidence interval for the 0.632 bootstrap estimator $\hat{\the...
g59213
[ 0.012229518964886665, -0.021191125735640526, 0.014467243105173111, 0.03058694489300251, -0.007609734311699867, 0.015188460238277912, 0.05151503160595894, 0.028874430805444717, -0.07143281400203705, -0.00003711522731464356, -0.0018482145387679338, 0.04053004831075668, 0.05061011388897896, 0...
<p>My wife is presenting a study at a conference poster session. She has a correlation of sorts [1] where kids' self-assessment of asthma ("I felt a lot better" or "I felt a little better or not better") matches doctors' assessments (0 to 6, low numbers are better). And we need a visual for the poster.</p> <p>I'd have...
g14659
[ 0.020441045984625816, 0.010310644283890724, -0.024144450202584267, -0.12133359909057617, 0.009450435638427734, -0.02340293675661087, 0.006296065635979176, -0.016166647896170616, 0.00584911834448576, -0.06759216636419296, 0.029408445581793785, 0.028676465153694153, 0.11943859606981277, 0.04...
<p>Can anyone recommend a good book or some other reading materials on repeated measure analysis using mixed model.Thanks. Hanna</p>
g59214
[ -0.0120931351557374, -0.010188110172748566, 0.03203679621219635, -0.04014843702316284, -0.03813030198216438, -0.011262105777859688, 0.018963951617479324, -0.008241789415478706, 0.011929670348763466, 0.04493368789553642, -0.025421420112252235, -0.041947439312934875, 0.021417438983917236, -0...
<p>I have the following vector below. Can someone please provide more guidance regarding why when I run <code>p.adjust(myvector, "fdr")</code> all the adjusted p-values are the same?</p> <p>The vector in dput form is below:</p> <pre><code>c(0.658975448557642, 0.708514617655399, 0.634146815436502, 0.59915577368773, ...
g59215
[ -0.0020732837729156017, -0.05600696802139282, 0.02116728387773037, -0.0638570562005043, 0.026344988495111465, -0.09498748928308487, 0.11196751892566681, 0.0034255969803780317, -0.056833356618881226, -0.05826158821582794, -0.08772873878479004, 0.04296291247010231, -0.0018980121240019798, 0....
<p>When random experiments are conducted, 'baseline data' are usually used as control variables in order to increase precision.</p> <p>How about control variables in Difference in Difference method? What I mean is whether baseline data(Time 1) should be used for it or just control variables at that time(Time 1, Time 2...
g59216
[ 0.002268643118441105, -0.04830798879265785, 0.019501186907291412, -0.0318017303943634, 0.04154026508331299, -0.002560982946306467, 0.042773012071847916, 0.012504511512815952, -0.0008403040701523423, -0.007497461978346109, 0.02021917700767517, 0.023156173527240753, 0.001384847448207438, 0.0...
<p>I would like to compare two Simpson Indices from two different populations. I have calculated their variance, as it is done in the original paper by Simpson regarding measures of diversity and I have calculated a confidence interval for each of them using the formula:</p> <p>$(S-2\sqrt{\text{var}},S+2\sqrt{\text{va...
g59217
[ 0.021079666912555695, -0.011490254662930965, -0.02785370498895645, -0.03031483292579651, -0.003159213112667203, -0.01797829382121563, 0.028283504769206047, -0.012198977172374725, 0.02898707613348961, 0.03801839053630829, -0.0094451904296875, 0.034300707280635834, 0.009904609061777592, -0.0...
<p>I'm running a 2X2 between-subjects design ANCOVA and wonder about one peculiar thing: The ANCOVA output table reveals no significant interaction effect, albeit the profile plot shows two lines that cross each other, i.e. an disordinal interaction. So how to reconcile these apparently contradictory findings? Might I ...
g59218
[ -0.01543592382222414, 0.0007631522603332996, 0.007992318831384182, -0.03496209904551506, -0.03885144367814064, 0.004949772730469704, 0.06971131265163422, -0.026737971231341362, -0.04140331968665123, -0.012029432691633701, 0.001669562654569745, -0.0041421265341341496, 0.08010251075029373, -...
<p>I have two dependent variables, <code>Abundance</code> and <code>Richness</code> of moths, and 12 independent climate variables. These are <code>Temperature</code>, <code>Rainfall</code> and <code>Sunlight</code>, for each of the 4 seasons. </p> <p>How do I go about analysing this? From doing individual simple line...
g27624
[ 0.01168480422347784, -0.045724477618932724, -0.026932287961244583, -0.03138365596532822, -0.026700174435973167, -0.005842652637511492, 0.03142325207591057, 0.002460867865011096, 0.020571134984493256, 0.012739567086100578, 0.010700909420847893, 0.014279993250966072, 0.06080452725291252, 0.0...
<p>I have collected this data, counting how many users engage in a certain activity how many times:</p> <pre><code>Activity Users Percent 1 2,005,752 62.57% 2 1,005,669 31.37% 3 616,328 19.23% 4 408,571 12.75% 5 285,103 ...
g59219
[ 0.02669733203947544, 0.029193023219704628, 0.001078535569831729, -0.01709773577749729, 0.04847116395831108, -0.04147661477327347, 0.08839006721973419, -0.02146109566092491, 0.014044523239135742, -0.051085248589515686, -0.02587924711406231, 0.022770019248127937, 0.007994221523404121, -0.033...