question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>We want to add a forecasting tool to our website -- it would draw off a historical database and users can choose the model (Box Jenkins, Simple Linear Regression, etc.), confidence interval and play what-if. Is anyone aware of such package we can plug into our website?</p>
g62610
[ 0.009734059683978558, 0.025748923420906067, -0.025796379894018173, -0.03879261389374733, -0.005688465666025877, -0.08045714348554611, -0.01069208700209856, -0.01960679702460766, -0.06053890660405159, -0.050438497215509415, 0.04691483825445175, 0.0007171033066697419, 0.07294010370969772, -0...
<p>What software (or method) can I use to determine correlations between any sets of variables and results?</p> <p><strong>Background:</strong> I would like to analyze sets of our archived data over several years. Knowledge of the product tested often leads to some obvious correlations (ie: fuel efficiency peaks at a...
g19757
[ 0.05250348150730133, -0.027955809608101845, 0.011183304712176323, -0.029241865500807762, -0.053279582411050797, -0.035468123853206635, 0.02968902885913849, -0.005563635379076004, -0.05475401133298874, -0.059374112635850906, 0.059077125042676926, -0.019688541069626808, 0.03613641858100891, ...
<p>I have one variable that attains a certain value (between 0 and 1), about 1000 observations and each belongs to one (and only one) of fifteen groups. Now I would like to reduce the number of groups to two or three by combining them. It is important that all the data within a given group in the former division will s...
g62611
[ -0.028032401576638222, 0.024665463715791702, -0.0003610110143199563, -0.044945064932107925, 0.03726132586598396, 0.022950345650315285, 0.015439012087881565, 0.0031821969896554947, -0.06204622611403465, -0.03909863159060478, 0.012063692323863506, 0.014134342782199383, 0.014982256107032299, ...
<p>If $X_1,X_2$ constitute a random sample of size n=2 from a Poisson Population show that the mean of the sample is a sufficient estimator of the parameter $\lambda$ . </p> <p>Since the sum of Poissons is also Poisson with parameter $\lambda+\lambda=2\lambda$<br> Then $E[Y]=2\lambda$. where Y constitute of two Poi...
g62612
[ 0.0009697970817796886, 0.013829181902110577, -0.00006255906191654503, -0.05135662108659744, 0.0015787656884640455, -0.01872153766453266, -0.050132617354393005, 0.03865491971373558, -0.05217735096812248, 0.02766672521829605, -0.07507609575986862, 0.01908484846353531, -0.01652492769062519, 0...
<p>I have a multivariate regression model $\mathbf{Y}$ = $\mathbf{XB}$ + $\mathbf{E}$ where $\mathbf{Y}$ is $n \times m$. </p> <p>In my case $\mathbf{n &lt; m}$, the number of columns in $\mathbf{Y}$ is greater than the number of rows. Is it still possible to do multivariate hypothesis testing with a model like this ...
g62613
[ 0.016817186027765274, -0.01451312005519867, -0.002270772587507963, -0.004129362292587757, 0.01693994365632534, -0.07160640507936478, -0.0073775313794612885, 0.0030328393913805485, -0.06245073303580284, -0.018587978556752205, 0.006376043893396854, 0.029336851090192795, 0.06141181290149689, ...
<p>I have a dataset relating two variables to a result, as shown in the image below.</p> <p><img src="http://i.stack.imgur.com/PLoy1.jpg" alt="image showing 2 variables related to a result"></p> <p>In the image Variable 1 is held constant, and plotted against different values of Variable 2, and the result is shown. I...
g62614
[ 0.011198719032108784, -0.04126742482185364, -0.04069112613797188, -0.034259893000125885, -0.0010171342873945832, -0.10335840284824371, 0.03423990309238434, -0.018868383020162582, -0.05458737537264824, -0.03175691142678261, -0.05129772424697876, 0.061241451650857925, 0.04908673092722893, 0....
<p>I am new to Regression and R. I know that polynomial functions are used when a regression model does not fit data (underfitting), but I want to know which degree of polynomial should be used? I also want to know that if a regression model uses multiple variables (e.g., <code>y ~ x1+x2+x3+x4</code>) then do I need a ...
g19760
[ 0.0354769267141819, -0.030841777101159096, 0.001327207311987877, 0.006810481194406748, -0.021719366312026978, -0.015140866860747337, 0.018377434462308884, -0.00569427153095603, -0.008594196289777756, -0.03962119296193123, -0.0595540888607502, 0.01956073008477688, -0.014423791319131851, -0....
<p>I have an experiment which is executed on hundreds of computers distributed all over the world that measures the occurences of certain events. The events each depend on one another so I can order them in increasing order and then calculate the time difference.</p> <p>The events should be exponentially distributed b...
g19761
[ 0.054986875504255295, -0.011116113513708115, -0.008979656733572483, -0.028595900163054466, 0.06351766735315323, -0.00919690728187561, 0.03368070349097252, 0.060351356863975525, -0.03798374906182289, -0.006850759033113718, -0.021137909963726997, -0.012283310294151306, 0.007052732165902853, ...
<p>I asked participants in an experiment the same question once before and once after the experiment, to see the effect of the experiment on the answer. The answers were given on a 5-point scale. To me the change, so the difference between the before and the after answer to the question, is interesting. So I want to se...
g62615
[ -0.036996982991695404, -0.01413703802973032, -0.01461600698530674, -0.031147640198469162, 0.0035330974496901035, -0.09062087535858154, 0.009846549481153488, -0.03185701370239258, -0.046869516372680664, -0.010744142346084118, 0.007456812541931868, 0.025175713002681732, 0.002284534275531769, ...
<p>I have a household travel survey where information about travel characteristics were obtained from a sample of households. The respondents were given a diary and a GPS device to log their trips for a single day. However, for some respondents additional travel days were collected from the GPS device. Because the addi...
g62616
[ 0.02775724045932293, 0.012434438802301884, -0.017549756914377213, -0.035041164606809616, -0.000669289322104305, 0.0000814663726487197, -0.023776914924383163, 0.024768248200416565, 0.015348424203693867, -0.02214096672832966, 0.024432441219687462, -0.02406144142150879, 0.07374276220798492, 0...
<p>this is kinda homeworkish so I don't want a full solution I just want some input. </p> <p>I have this data set <img src="http://i.stack.imgur.com/ObZgv.png" alt="dataset"></p> <p>And I want to transform the data (with a rbf Kernel?) in order to be able to do a simple linear ridge-classifier. </p> <p>I know I can...
g62617
[ 0.03332246467471123, 0.013817180879414082, 0.010763953439891338, -0.030324984341859818, 0.046357348561286926, -0.052301835268735886, -0.038253046572208405, 0.018297793343663216, -0.04273158684372902, 0.0043965475633740425, -0.015565678477287292, 0.05684920400381088, 0.045012567192316055, -...
<p>There is a simple regression model table I was looking at in a textbook with IQ values grouped into 5 intervals and each group had an N number associated with it. There was also information given about the residuals for each group (mean and variance for the residuals). e.g For the &lt; 75 IQ group, N = 23, Mean of ...
g62618
[ 0.010404003784060478, -0.06028015539050102, -0.019227681681513786, -0.045341480523347855, -0.02333703823387623, 0.007977429777383804, 0.043943412601947784, -0.003934234380722046, -0.08770408481359482, 0.016464069485664368, 0.017829906195402145, 0.012997418642044067, 0.014632917009294033, 0...
<p>I'm running a 2x2x2x2x2 mixed model ANOVA (on SPSS v21) for my study and found two 4-way interactions, one 5-way interactions and a couple of 3-way interactions. Whilst I understand how to interpret a 3-way ANOVA. I'm having quite a hard time trying to interpret the 4/5-way interactions. </p> <p>My variables are:</...
g62619
[ -0.00856715627014637, -0.034664757549762726, -0.014267468824982643, -0.01177229080349207, 0.005958684720098972, 0.007940678857266903, 0.03617976978421211, 0.008077741600573063, -0.003321268828585744, 0.01252616848796606, 0.011868802830576897, 0.019723057746887207, 0.017322944477200508, 0.0...
<p>Given data points $x_i$ in $\mathbb{R}^d$ with function values $f_i$, one can estimate the function at a given $x$ by $\ \ \ \ \text{f}_{est}( x ) = \frac {\sum { w_i f_i }} {\sum { w_i }}$ with $w_i = k( |x - x_i| )$.<br> Here $k$() is a kernel function, often Gaussian. See also <a href="http://en.wikipedia.org/wi...
g62620
[ -0.017249831929802895, -0.019309375435113907, -0.01371716894209385, -0.0466601625084877, -0.05755137652158737, -0.03198731318116188, -0.0063201067969202995, 0.02038194239139557, -0.07923752069473267, 0.01811261661350727, -0.027221448719501495, 0.019838964566588402, 0.08904580026865005, -0....
<p>I have a jar with white and black balls. Total number of balls in the jar is 100000. I want to estimate the proportion of white balls. My constraint is that the sample size for estimation should be low, lets assume 500 balls. I am debating between two approaches.</p> <ol> <li>Draw a single sample of 500 balls, $\ha...
g62621
[ -0.004861495923250914, -0.009525763802230358, 0.014097227714955807, -0.10226534307003021, -0.01185512077063322, -0.034542735666036606, 0.04215993732213974, 0.001012924825772643, 0.0012387558817863464, 0.02578887529671192, -0.008776169270277023, -0.02017730101943016, 0.043929170817136765, 0...
<p>I have two groups of patients who underwent a surgery using method A or method B. The first group are patients who were operated in 1980's and 1990's only with method A. The second group are patients operated recently with mostly method B, but also in some cases A. In addition to that, I have various variables about...
g19765
[ 0.001301248325034976, -0.0384187288582325, 0.0031198931392282248, -0.02772245742380619, -0.03449862822890282, -0.021025968715548515, 0.012124414555728436, 0.015076921321451664, -0.0026387881953269243, -0.004695686977356672, 0.0086043830960989, 0.008190048858523369, 0.04017452150583267, 0.0...
<p>My question is: how one derives a Weibull distribution for a lifetime of a system where parts are wearing out with time?</p> <p>Provided that this is the lifetime analysis with aging is the main application of a Weibull distribution, I was surprised not to find a derivation why specifically this distribution and no...
g62622
[ 0.0648229643702507, 0.020960574969649315, 0.004022056236863136, -0.034802213311195374, -0.044938284903764725, -0.008952015079557896, 0.01714238151907921, -0.0022708834148943424, 0.027891946956515312, 0.013855785131454468, -0.033575840294361115, -0.018000783398747444, 0.0035031712613999844, ...
<p>The literature in MCMC and LBP never refer to the fact that the two methods look (on expectation) exactly the same. To illustrate, first consider a simple Ising model, that is, a graphical model where all the variables are boolean. We can denote these variables as $\{ X_i | X \in \{0,1\}, i \in (1,...,n)\}$ and we...
g38824
[ 0.03183990344405174, -0.043634362518787384, 0.015079343691468239, -0.014048964716494083, -0.004504993557929993, -0.07204930484294891, 0.045940350741147995, 0.0017749977996572852, -0.04216959699988365, -0.01539234071969986, 0.05056731775403023, 0.03712151199579239, 0.029297707602381706, 0.0...
<p>After gathering data, we compute score of any Likert (summative) scale (previously identified as factor in factor analysis) by adding up its individual item scores (and maybe dividing the sum by the number of items to get the mean score). In that calculation, we assume that every item in the scale has equal weight. ...
g49241
[ -0.006731877569109201, 0.02979241870343685, 0.014116799458861351, -0.06168387085199356, 0.0405893512070179, 0.014184310100972652, -0.01146754715591669, 0.02689102478325367, -0.0436783991754055, 0.013631151057779789, -0.02320900931954384, 0.016866423189640045, 0.02035219967365265, -0.008832...
<p>Suppose you have SAS code as follows. This is from <a href="http://www.ats.ucla.edu/stat/sas/faq/anovmix1.htm" rel="nofollow">http://www.ats.ucla.edu/stat/sas/faq/anovmix1.htm</a>. </p> <pre><code> PROC MIXED DATA=long; CLASS sub group trial; MODEL dv = group trial group*trial; REPEATED trial / SUBJECT=sub TY...
g38827
[ 0.0020993221551179886, -0.06637457758188248, -0.019995443522930145, -0.014509748667478561, 0.06533253937959671, 0.022638779133558273, -0.003225138643756509, -0.0070769102312624454, -0.06789075583219528, -0.046004101634025574, -0.01150472927838564, 0.03769294545054436, 0.07759413868188858, ...
<p>I have a dataset with 8000 clusters and 4 million observations. Unfortunately my statistical software, Stata, runs rather slowly when using its panel data function for logistic regression: <code>xtlogit</code>, even with a 10% subsample.</p> <p>However, when using the nonpanel <code>logit</code> function results ap...
g49861
[ 0.001535938703455031, -0.023590732365846634, -0.00570309441536665, -0.043437257409095764, 0.022623496130108833, -0.060291461646556854, 0.008034751750528812, 0.02535278908908367, -0.02724735252559185, -0.01746257394552231, 0.009948469698429108, 0.03876869007945061, 0.06412386149168015, 0.01...
<blockquote> <p>The degrees of freedom in a multiple regression equals $N-k-1$, where $k$ is the number of variables. </p> </blockquote> <p>Does $k$ include the response variable (i.e., $Y$)? For example, in the model $Y = B_0 + B_1X_1 + B_2X_2$, then does $k = 3$ (i.e., 1 df each for $Y$, $X_1$, &amp; $X_2$)? </p>
g39681
[ -0.003307543694972992, 0.03829627484083176, 0.018002791330218315, 0.05204971507191658, 0.03337510675191879, -0.053607434034347534, 0.024140259250998497, 0.025683242827653885, 0.016070134937763214, 0.009415051899850368, -0.060857467353343964, 0.041009511798620224, -0.03712207078933716, 0.00...
<p>I am designing a points-scored test. There is a limit on the maximum amount of points possible, as well as on the fewest amount of points possible. I have had a test group take the test and graphed their results, which form a lopsided bell curve or sorts. I am trying to figure out what kind of distribution would be ...
g10137
[ 0.010100558400154114, 0.016556670889258385, -0.013405900448560715, -0.04927781596779823, 0.001728122471831739, -0.01700696162879467, 0.012049113400280476, -0.02534274198114872, -0.01686411164700985, -0.03733321279287338, 0.038488589227199554, 0.031019847840070724, -0.015229812823235989, -0...
<p>I have downloaded my Latitude location history from Google for the time of about three years and now I'd like to, for starters, visualize where I've been.</p> <p>It turns out that the history contains some outliers. For example, I have been located in China or in Africa, where in fact I haven't been. Other outliers...
g531
[ 0.01609674096107483, -0.0007566424901597202, -0.008039768785238266, -0.04331200569868088, -0.007709273602813482, -0.019886774942278862, 0.08527810126543045, 0.04413090646266937, -0.009088817052543163, 0.023617444559931755, 0.002589658135548234, 0.01859956607222557, 0.017323678359389305, 0....
<p>I have two very important things to know. Can anyone help?</p> <h3>Question-1</h3> <p>If I have three categorical dependent variables and a continuous dependent variable, which are correlated (or associated), then if I conduct separate regressions with each dependent variable instead of a multivariate regression, ...
g38839
[ 0.0074372622184455395, -0.042289577424526215, -0.013946964405477047, -0.015001273714005947, -0.011627161875367165, -0.02759125828742981, -0.015811705961823463, 0.048085980117321014, -0.04111379757523537, -0.05414711311459541, -0.030125748366117477, -0.018455317243933678, 0.04664051532745361,...
<p>I'm trying to implement basic gradient descent and I'm testing it with a hinge loss function i.e. $l_{\text{hinge}} = \max(0,1-y\ \boldsymbol{x}\cdot\boldsymbol{w})$. However, I'm confused about the gradient of the hinge loss. I'm under the impression that it is </p> <p>$$ \frac{\partial }{\partial w}l_{\text{hinge...
g37668
[ 0.0602535717189312, -0.027271287515759468, -0.0019886563532054424, -0.004892055876553059, -0.012144526466727257, -0.06971856206655502, 0.05492614582180977, -0.039555490016937256, -0.09684495627880096, -0.028444455936551094, -0.06133044883608818, 0.04637903347611427, 0.05132533982396126, 0....
<p>from what I can tell, PASW v.18 (the new version of SPSS) only gives you the p value of nonparametric tests. I am calculating Kruskal Wallis and Mann Whitney tests, and need to report the test statistic, not just p. Can someone please help? Thanks!</p>
g62623
[ 0.024999476969242096, -0.03622511029243469, -0.004268855322152376, -0.04015861824154854, -0.009367462247610092, 0.006394156254827976, -0.04066886752843857, 0.017283521592617035, 0.0020359577611088753, -0.05305122956633568, 0.020708905532956123, -0.01377472747117281, 0.018863849341869354, 0...
<p>I am thinking of using <a href="http://www.mathworks.com/matlabcentral/fileexchange/14034-kernel-density-estimator" rel="nofollow">this code</a> in a Monte Carlo routine to generate Kernel Density Estimates for subsequent use in a Naive Bayes Classifier <a href="http://stats.stackexchange.com/questions/4298/use-of-k...
g62624
[ -0.018790077418088913, -0.008313961327075958, 0.0034699945244938135, -0.03578578308224678, -0.06456290185451508, -0.0525977686047554, 0.0384647436439991, -0.00676497258245945, -0.07101640850305557, -0.0021607486996799707, 0.0375208780169487, -0.015143672935664654, 0.057451583445072174, 0.0...
<p>I want to cluster data that contains binary variables, exponentially distributed (power law) variables, and normally distributed variables. I'm considering preprocessing the data in the following way and wondering whether it's reasonable.</p> <p>1) shift the binary variables so that they have mean zero. no rescalin...
g62625
[ 0.002128251362591982, -0.038839615881443024, -0.005022153258323669, -0.03933686017990112, 0.0182033758610487, -0.0007263640873134136, -0.041566841304302216, 0.027153095230460167, 0.002789981896057725, -0.003983404953032732, 0.058251142501831055, -0.017829490825533867, 0.008415794931352139, ...
<p>I'm doing some some analysis of an arbitrary string of text, modelling it as a Markov chain where the state is simply the value of the previous character. Call the current character <code>c</code> and the previous character <code>p</code>; then it is trivial to calculate <code>P(c | p)</code> for the given sample te...
g62626
[ 0.008328711614012718, -0.011626970022916794, -0.0053496453911066055, -0.027310162782669067, 0.027710137888789177, -0.015051590278744698, -0.025272630155086517, 0.03494049608707428, -0.03130270168185234, -0.012392147444188595, -0.043815162032842636, 0.02110765129327774, 0.004787697456777096, ...
<p>Suppose I have a data set with the following structure:</p> <p>Each row of the data set indexes a town. The first column/feature variable is the total population while the other feature variables include the count of people who own various items (one feature variable for cars, one for home appliances, etc.), while ...
g62627
[ 0.02368144690990448, -0.013270712457597256, -0.011064649559557438, -0.02479361556470394, 0.02333753928542137, -0.04158342257142067, -0.008122613653540611, 0.044281214475631714, -0.05894606560468674, 0.010626900009810925, -0.0036665601655840874, 0.042438652366399765, 0.040579408407211304, -...
<p>Are there any open-source Java implementations of lasso or least angles regression?</p> <p>Pure Java code would be best, but clean implementations in other languages would also be of interest. I am already aware of the existence of a variety of R packages than can do lasso/LAR fits.</p> <p>Thanks.</p>
g62628
[ 0.08194378018379211, -0.08893221616744995, -0.0015907646156847477, -0.038972340524196625, -0.011702208779752254, -0.03966990485787392, 0.012845332734286785, -0.004771905485540628, 0.010668170638382435, -0.008816543966531754, 0.016188913956284523, 0.045194484293460846, 0.059461675584316254, ...
<p>I have run a factorial type test in a processing plant and have run a forward and backward step regression in R. </p> <p>How can I use the regression results and the anova created from the regression to know what percent of the measured variation of the dependent variable was caused by the purposeful manipulation o...
g19777
[ -0.006790360435843468, -0.01679186336696148, -0.0168620515614748, 0.008025357499718666, 0.025457298383116722, -0.03648007661104202, 0.0758475735783577, -0.01122370082885027, 0.0007720441790297627, -0.05824357643723488, -0.028162864968180656, 0.05547678470611572, 0.005653435364365578, 0.035...
<p>If I have a relationship:</p> <p>$ y_t = a + \theta b_t \epsilon_t,$</p> <p>where I observe $y_t$ and $b_t$. $a$ is a known parameter, $\theta$ is an unknown parameter with prior distribution at time $t$: $\theta \sim logN(\mu_t, \sigma_t^2)$, and $\epsilon_t$ is an IID random variable with distribution: $\epsilon...
g62629
[ 0.034504421055316925, -0.032374877482652664, 0.012645583599805832, -0.06916675716638565, -0.028833921998739243, -0.019043676555156708, -0.017424263060092926, -0.03846434876322746, 0.01587403193116188, 0.019502917304635048, 0.018475603312253952, 0.0387408584356308, 0.00881179515272379, 0.01...
<p>I'm implementing a bayesian Hidden markov model. I now face the problem of how to choose the number of components. I have two problems: 1) which index is better to use? 2) suppose i decide to use the BIC and that I estimates the model with an MCMC procedure. Have I to compute the BIC for each posterior sample and th...
g62630
[ 0.0004733037785626948, -0.021793873980641365, 0.02244502492249012, -0.028532525524497032, 0.041650645434856415, -0.07605887204408646, 0.02837701141834259, 0.030748622491955757, -0.021881986409425735, 0.02852555923163891, -0.024492384865880013, 0.04939773678779602, 0.017446128651499748, 0.0...
<p>Given a generic classification model $y=f(x_1,x_2,..,x_p)$ where $y\in \left\lbrace 0,1 \right\rbrace$ is it possible to compute the odds ratio for each variable? </p> <p>A theoretical explanation and an example with R code would be the best answer</p>
g62631
[ -0.0010034134611487389, -0.044449660927057266, -0.006768574472516775, 0.005501912906765938, 0.017683636397123337, -0.030159756541252136, 0.0025030397810041904, 0.03320194408297539, -0.05555907264351845, -0.009292658418416977, 0.024541804566979408, 0.04895792901515961, 0.03421574458479881, ...
<p>I have a list of items that represent cells, now i query each cell value to get a set of possible categories that this cell might belong to, these categories are weighted. For Example:</p> <pre><code>Microsoft is: {Software=83.543266, Video Game Platform=132.297455, Degree=71.624733, Organization=208.17038, Program...
g19779
[ 0.020322851836681366, 0.007225264795124531, -0.018899941816926003, -0.005801202729344368, 0.047618549317121506, 0.0194721519947052, 0.035889677703380585, 0.017017368227243423, -0.07451550662517548, -0.006071516312658787, -0.022775566205382347, 0.03763940930366516, 0.05599092319607735, -0.0...
<p>Is there a standard approach for testing goodness-of-fit to a probability distribution when the samples are independent but not identically distributed? In other words, given the data $\{\{x_1, y_1\}, \{x_2, y_2\},..., \{x_n, y_n\}\}$ and the candidate density function $f(x;y)$, what is an accepted approach for test...
g62632
[ 0.024576442316174507, -0.04679924622178078, -0.00031989236595109105, 0.01909986324608326, -0.04476721212267876, -0.014774643816053867, -0.06205185875296593, -0.01588493213057518, -0.02492283098399639, 0.009708540514111519, -0.003387432312592864, -0.03052048571407795, 0.026054030284285545, ...
<p>I am getting astronomically high p-values for all the coefficients in a logistic regression model. I am not sure why they are so high:</p> <ul> <li>0.7096 </li> <li>0.4441 </li> <li>0.9783 </li> <li>0.7826 </li> <li>0.6890 </li> <li>0.7538 </li> <li>0.8017 </li> <li>0.9332 </li> <li>0.9564</li> </ul> <p>I honestly...
g19781
[ -0.036879703402519226, -0.04307210445404053, -0.01072746329009533, -0.031200431287288666, 0.02941136807203293, -0.017853477969765663, 0.004725622478872538, -0.002789566293358803, -0.03999645262956619, 0.0035271102096885443, -0.05890517309308052, 0.03461895138025284, 0.039474643766880035, -...
<p>In cognitive psychology, it has been argued that the learning curve of a skill follows the power function, in which the practice of the skill yields progressively smaller decrements in error. I want to test this hypothesis with the data I have, and to do this I need to fit a power law function to the data.</p> <p>I...
g19782
[ 0.033921562135219574, -0.07043840736150742, -0.010766617953777313, -0.013252155855298042, 0.01268716435879469, -0.013156479224562645, 0.013666127808392048, -0.017045408487319946, -0.052184876054525375, -0.019660430029034615, -0.014484149403870106, 0.0005167054478079081, 0.055537719279527664,...
<p>In simple linear regression, where the model</p> <p>$$\mathbb{E}(y) = \beta_0 + \beta_1 x$$</p> <p>is estimated using least squares (and the errors are assumed iid of mean $0$), why is the covariance between the mean response $\bar{y}$ and the estimated slope $\hat{\beta_1}$ equal to zero?</p>
g49649
[ 0.05361160635948181, -0.06044846400618553, 0.0049935090355575085, -0.00032612867653369904, 0.08540549129247665, 0.03177981823682785, 0.038165777921676636, 0.035585854202508926, -0.048290856182575226, -0.036182720214128494, -0.028273068368434906, 0.016890788450837135, -0.0022095926105976105, ...
<p>Let's say that you're fitting a model to predict some score as a linear function of two categorical inputs. Something like the following data set:</p> <pre><code>score x y --------------------- 46.12 A B 42.61 A F 39.14 B A 57.72 B C 48.65 B D 56.29 B E 45.45 B F 42.43 C B 52.68 ...
g304
[ -0.04512617364525795, -0.05682706832885742, -0.0003083291812799871, -0.06900935620069504, -0.011382117867469788, -0.01916101574897766, 0.00880296528339386, 0.04415363818407059, -0.08095179498195648, 0.006523661781102419, 0.024345088750123978, 0.02398381382226944, 0.0806359350681305, 0.0346...
<p>I am writing an implementation of the EM algorithm to estimate parameters in a GLMM in R. My model is $$y_{ij}|\alpha_i \sim Bin(1,p_{ij})\textrm{, where }logit(p_{ij}) = \mu + \alpha_i \textrm{ and } \alpha_i \,\,iid \sim N(0,\sigma^2).$$ In other words, my data has a binary response that can be modeled with a fix...
g19788
[ 0.004122595302760601, -0.08867920935153961, -0.018635811284184456, 0.005633522290736437, -0.027836084365844727, -0.04310664162039757, 0.0641026720404625, 0.01765216700732708, -0.06504730880260468, 0.04167400673031807, -0.0067746383138000965, -0.014615694992244244, 0.012852908112108707, 0.0...
<p>I got the following outcome. I am confused with the interpretation. When I consider RSS then model 2 is better than model 1. What does that high p value mean? Does in influence my conclusion?? </p> <blockquote> <p>anova(reg4.3,reg4.4, test="Chisq")</p> </blockquote> <pre><code>Analysis of Variance Table Model 1...
g62633
[ 0.002078673802316189, -0.0019545555114746094, -0.004543295130133629, -0.015091320499777794, 0.04035399109125137, -0.0013765248004347086, 0.0755813792347908, 0.03800699859857559, -0.059134598821401596, -0.04369547218084335, -0.04183333367109299, 0.061617739498615265, 0.013374763540923595, -...
<p>Suppose I have $N$ independent random numbers with a uniform distribution in $[+1, -1]$. Suppose I take the discrete Fourier transform of these numbers. What would the probability distribution of each frequency coefficient be?</p> <p>Each frequency coefficient is the weighted sum of $N$ independent random numbers w...
g62634
[ -0.015092582441866398, 0.0201607383787632, -0.009466414339840412, -0.0577702671289444, 0.01447303406894207, -0.03349257633090019, -0.02218782901763916, 0.020336130633950233, -0.01961241103708744, -0.06995696574449539, -0.06099679321050644, -0.005064294673502445, 0.026513513177633286, 0.013...
<p>When doing research in Economy, one frequently needs to verify theoretical conclusions on real data. What are reliable data sources to use and cite? I am mainly interested in sources that provide various statistical data such as GDP, population, CPI, PPI etc.</p> <p><strong>EDIT:</strong> Here's an aggregation of t...
g19791
[ 0.0539839006960392, 0.022730639204382896, -0.016999157145619392, -0.018444737419486046, 0.011560090817511082, -0.007419643457978964, -0.01621008664369583, -0.00620150426402688, 0.0007049504201859236, 0.013243873603641987, 0.05882212519645691, -0.04923205077648163, 0.07916184514760971, -0.0...
<p>I'm trying to understand the concept of the <a href="http://en.wikipedia.org/wiki/Expected_value">expected value</a>. Especially, what bothers me is the expected value for discrete random variables. I will try to formulate it by examples:</p> <ul> <li><p>The expected value when throwing a six-sided die is $E(X) = 3...
g19794
[ -0.029644912108778954, 0.040771644562482834, -0.030277153477072716, -0.07541487365961075, 0.011020343750715256, -0.0006310885073617101, -0.014383918605744839, 0.029775120317935944, -0.05632587522268295, -0.08125250786542892, -0.022065307945013046, -0.01213841326534748, 0.04744783416390419, ...
<p>Physicist here with a naive question,</p> <p>I've got a data set (points $x_i,y(x_i),i\in \mathbb N$) and two different smooth curves $f(x),g(x)$ from my simulation. I can't quite judge with my eye which one fits better with my eyes only. What are some tools to make a judgement here?</p> <p>My initial thought is t...
g62635
[ 0.06896648555994034, 0.017318908125162125, -0.03687618300318718, -0.03368978947401047, -0.002066398970782757, -0.04854051023721695, 0.024642309173941612, -0.04680334031581879, -0.011283949948847294, -0.001946933101862669, 0.02669430524110794, 0.04887297376990318, 0.08998294919729233, -0.00...
<p>Say I have the following sample:</p> <pre><code>-0.38848247;0.21655804;-1.08211969;0.00369104;0.0993393;0.25531731;1.40574444;-1.80271115;-0.58780605;-0.35026458;0.67197532;-1.29654652;-0.58874467;-0.4004176;1.46242829;0.83946654;-0.24861179;-1.604154;1.53555232;1.45589014;-0.52092604;1.65504054;0.12854317;1.667712...
g62636
[ -0.027599992230534554, -0.06515922397375107, 0.011651108041405678, -0.06650407612323761, -0.0007310931687243283, -0.039886474609375, 0.026895176619291306, -0.012149782851338387, 0.003914565779268742, 0.0032465059775859118, -0.03662336245179176, 0.012303231284022331, 0.061547067016363144, 0...
<p>My model has seven independent variables and one dependent variable. Each are subscales for a 5 point likert scale questionairre. I tested each variable data and they are all non normal. I did spearman correlation and identified several significant correlations. I tried testing the model using linear regression but ...
g37429
[ 0.03486053645610809, -0.006786964368075132, 0.006781429052352905, -0.04278668761253357, -0.024917393922805786, 0.013917476870119572, 0.06037191301584244, -0.03562687709927559, 0.005039412993937731, -0.025106268003582954, 0.014893559738993645, -0.0028452780097723007, -0.03904998302459717, 0...
<p>Label switching (i.e., the posterior distribution is invariant to switching component labels) is a problematic issue when using MCMC to estimate mixture models. </p> <ol> <li><p>Is there a standard (as in widely accepted) methodology to deal with the issue?</p></li> <li><p>If there is no standard approach then what...
g62637
[ -0.042077790945768356, -0.07184884697198868, 0.00405638013035059, -0.0926617830991745, -0.004600371699780226, -0.015701599419116974, -0.041840460151433945, 0.023882433772087097, -0.011878570541739464, 0.04681174457073212, 0.05096826329827309, 0.007014700211584568, 0.05277671292424202, 0.02...
<p>I really enjoy hearing simple explanations to complex problems. What is your favorite analogy or anecdote that explains a difficult statistical concept?</p> <p>My favorite is <a href="http://www-stat.wharton.upenn.edu/~steele/Courses/434/434Context/Co-integration/Murray93DrunkAndDog.pdf">Murray's</a> explanation of...
g62638
[ 0.04276490584015846, 0.021960165351629257, -0.026322633028030396, -0.08442020416259766, 0.005910366773605347, -0.03381187468767166, 0.03666212409734726, 0.04340255260467529, -0.024760961532592773, 0.022588394582271576, -0.035284072160720825, -0.06008319556713104, 0.027958013117313385, -0.0...
<p>I know this must be standard material, but I had difficulty in finding a proof in this form.</p> <p>Let $e$ be a standard white Gaussian vector of size $N$. Let all the other matrices in the following be constant.</p> <p>Let $v = Xy + e$, where $X$ is an $N\times L$ matrix and $y$ is an $N\times 1$ vector, and le...
g693
[ 0.021250475198030472, 0.007920293137431145, -0.03300230950117111, -0.049556758254766464, -0.02170696295797825, -0.0009924211772158742, 0.04083671048283577, -0.011002267710864544, 0.05876119062304497, 0.05111782252788544, -0.003968758508563042, 0.052336808294057846, -0.017550615593791008, -...
<p>Is there a simple way to determine (other than by simulation) the expected standard deviation of a sample, when sampling from a population with known distribution, for example a normal distribution with mean 25 and standard deviation 5, but the samples are included/excluded if they fall within certain limits ? In pa...
g38869
[ 0.04305383563041687, 0.039705101400613785, -0.005735167767852545, -0.025078529492020607, -0.07117909938097, 0.03471596911549568, -0.029965879395604134, 0.0016209473833441734, -0.020879607647657394, -0.036593858152627945, -0.007481405511498451, -0.008036740124225616, -0.003986956086009741, ...
<p>I am trying to train an Artificial Neural Network for classification. In the input layers, I have 402 neurons; the first 400 are binary, and the last two are floating points in the range -1 to 1. In the hidden layer I have 400 neurons, and in the output layer I have a single node which I want to represent values bet...
g62639
[ 0.011042976751923561, 0.07056467235088348, -0.011010246351361275, -0.02702195942401886, 0.004140943754464388, -0.07249090075492859, 0.056755997240543365, 0.07023176550865173, -0.06973934173583984, -0.025858314707875252, -0.02875182032585144, 0.10646560043096542, -0.0118830231949687, -0.003...
<p>I'm looking for the paper:</p> <p><em>Streitberg and Rohmel (1986) <strong>Exact calculations for permutation and rank tests: an introduction to some recently published algorithms.</strong> Statist. Soft.Newsletter, 12, 10-17.</em></p> <p>Google Scholar shows a citation, but not a link, and says that it's cited by...
g38870
[ 0.05703065171837807, -0.03924623131752014, -0.010799814015626907, -0.03284159302711487, -0.056790657341480255, -0.018683230504393578, 0.019489916041493416, 0.016438284888863564, -0.0558302141726017, 0.018139485269784927, -0.004528272897005081, -0.021519219502806664, 0.034397535026073456, 0...
<p>I have a sample of data generated in <code>R</code> by <code>rnorm(50,0,1)</code>, so the data obviously takes on a normal distribution. However, <code>R</code> doesn't "know" this distributional information about the data.</p> <p>Is there a method in <code>R</code> that can estimate what kind of distribution my sa...
g62640
[ 0.05426089093089104, -0.04221055284142494, -0.009115352295339108, -0.03663042560219765, -0.025150829926133156, -0.033857930451631546, 0.01383973378688097, 0.016853274777531624, 0.0049208346754312515, -0.012109056115150452, -0.006386695895344019, 0.027623375877738, 0.024886712431907654, 0.0...
<p>I have a data set which consists of 1.Number of users, 2.Cpu usage, 3.Ram Usage, 4.Response time,</p> <p>The way I understand it Number of users is my independent variable. Is there a way, a method, or a program to help me create a function that expresses Response time in terms of cpu usage, ram usage and number of...
g62641
[ -0.01964530162513256, 0.04005948454141617, -0.037297993898391724, -0.06746947765350342, -0.0212424173951149, -0.06297567486763, 0.0450361892580986, -0.03860428184270859, -0.0558871291577816, -0.008290568366646767, -0.005577603355050087, 0.056574106216430664, 0.023664958775043488, 0.0229018...
<p>I'm facing the problem of visual tracking in computer vision. I have some observation (image blobs by background subtraction) produced by some moving object, and the task is to infer the state (position, velocity) of the object given the observation. I assume that each state depends only on the immediate predecessor...
g62642
[ 0.040168534964323044, -0.014331606216728687, 0.010576111264526844, 0.018960848450660706, -0.009829269722104073, -0.01836037077009678, 0.07648947089910507, 0.05108622461557388, -0.00668827909976244, -0.03299817070364952, -0.010171215981245041, 0.0003624113742262125, 0.05644804611802101, 0.0...
<p>I have a 'black box' model that outputs model predictions, but I don't know what actually goes on inside the model. I also have a bunch of data that I can pass through the model so that I can compare the predictions with actual results. Which interval would I use to bound most of the actual values around the predi...
g62643
[ -0.020848698914051056, -0.01978154480457306, 0.00202706060372293, 0.013026037253439426, -0.0119054289534688, -0.01791282556951046, 0.021864447742700577, 0.019541306421160698, -0.053557828068733215, -0.06167900189757347, 0.004559656605124474, 0.03736080601811409, 0.07717981934547424, -0.007...
<p>I am trying to randomize 60 patients in two treatments (A and B) where age will be used as strata. Since we don't know how many patients of each stratum will enter the study I have created two randomization lists of 15 blocks each (4 patients at each block). </p> <p>Since treatment allocation should be 1:1 (thus 30...
g4049
[ -0.036833085119724274, 0.0072994111105799675, -0.007830760441720486, -0.04401466250419617, -0.0386468768119812, 0.023580070585012436, 0.0043203020468354225, 0.022345680743455887, 0.018178272992372513, 0.029491739347577095, 0.05658041313290596, -0.00022911479754839092, 0.024493591859936714, ...
<p>I applied some data to find the best variables solution of regression model using ridge regression in R. I have used <code>lm.ridge</code> and <code>glmnet</code> (when <code>alpha=0</code>), but the results are very different especially when <code>lambda=0</code>. It suppose that both parameter estimators have the ...
g62644
[ 0.09274303168058395, -0.10168380290269852, -0.011414638720452785, -0.024780001491308212, 0.1089712530374527, -0.02743811532855034, -0.02928420901298523, 0.003435558872297406, -0.053125832229852676, -0.01980111189186573, 0.019663700833916664, 0.027211518958210945, -0.01720392145216465, 0.05...
<p>I was taught that when we feed our data to machine learning algorithm (e.g. SVM), we should first normalize our data.</p> <p>Suppose I have a set of data $X = \{x_1,x_2,...,x_n\}$, I knew two-way of normalizing them, let $\hat{\mu}$ and $\hat{\sigma}^2$ be the sample mean and sample variance of X. I can normalize e...
g19806
[ 0.0604722797870636, -0.06195473670959473, 0.006273714359849691, 0.016764655709266663, -0.003647688077762723, 0.003437112085521221, -0.03395417332649231, 0.04884463548660278, -0.029094273224473, -0.013681118376553059, 0.012524823658168316, 0.03305155783891678, 0.04637359827756882, 0.0249762...
<p>Two large beach holiday destinations near Bangkok, Thailand are Pattaya and Hua Hin. In a random sample of 100 individuals in Bangkok who have been on a weekend away to nearby beach destinations 6 preferred Pattaya and 3 preferred Hua Hin. The other 91 did not have a preference. These individuals were then exposed ...
g62645
[ 0.012009995989501476, 0.029544392600655556, 0.006639930419623852, 0.003350730985403061, 0.003191632218658924, 0.05505254864692688, 0.02284472994506359, 0.012133711948990822, 0.059857696294784546, -0.03226758539676666, 0.02200334146618843, 0.0009003735613077879, 0.030425317585468292, 0.0312...
<p>I'm analyzing the effect of precision error in optics experiments. One of the relevant quantities is a sum of $N$ complex numbers, each with a complex relative standard error $\epsilon$. How can I calculate the standard error of the summation? </p> <p>I've been thinking along the lines of a Gaussian random walk bu...
g62646
[ -0.032832495868206024, -0.03145837411284447, -0.012008572928607464, -0.05088145285844803, -0.0028023975901305676, -0.05005237087607384, 0.09408047050237656, 0.022798027843236923, 0.019162047654390335, 0.025608772411942482, -0.0351930633187294, 0.008499948307871819, 0.09953049570322037, 0.0...
<p><strong>Background</strong></p> <p>I have a large dataset that contains three binary outcomes for individuals belonging to groups. I am interested in jointly modeling these binary outcomes because I have reason to believe they are positively correlated with one another. Most of my data is at the individual level, h...
g62647
[ -0.05273575708270073, -0.025613747537136078, -0.008312582969665527, 0.012586806900799274, -0.010665610432624817, 0.006464958656579256, 0.04608749970793724, -0.023491011932492256, -0.0428035631775856, -0.004756350535899401, 0.02774798683822155, -0.018563205376267433, -0.0009283859981223941, ...
<p>Consider the scenario of making successive predictions about the outcome of a sporting event while it is taking place. I will use tennis as a concrete example because it has clearly defined moments at which it is sensible to make a new prediction (i.e. after every point is played) but I am also interested in cases s...
g19811
[ 0.02510560117661953, -0.008937017992138863, -0.0052170418202877045, 0.008783637546002865, -0.01292722299695015, -0.030894625931978226, 0.04573169723153114, -0.015173171646893024, -0.10023817420005798, -0.00662863627076149, 0.017115676775574684, 0.0009660143405199051, 0.08267409354448318, -...
<p>I don't understand the explanation in <code>R</code>'s help file for <a href="http://stat.ethz.ch/R-manual/R-patched/library/stats/html/effects.html" rel="nofollow">effects()</a>: </p> <blockquote> <p>For a linear model fitted by <code>lm</code> or <code>aov</code>, the effects are the uncorrelated single-degree...
g19812
[ 0.04000353440642357, -0.03581976518034935, -0.02567082643508911, -0.06466950476169586, 0.018743224442005157, -0.013835642486810684, 0.06252678483724594, 0.0278855599462986, 0.015689630061388016, -0.03846755251288414, -0.006786725949496031, 0.001679261913523078, 0.05027391389012337, -0.0039...
<p>I working with a dataset of around 4000 variables. I decided to carry out a PCA analysis for the data, but I am not quite sure about the suitable number of variables I should include in the test. Would feeding a big number (such as 4000) variables interfere with the PCA accuracy? As far as I can understand from the...
g62648
[ 0.027849476784467697, -0.004994486924260855, 0.040618181228637695, -0.03328569978475571, -0.035455841571092606, -0.014225998893380165, 0.028105681762099266, 0.041838955134153366, -0.054906852543354034, -0.013048853725194931, 0.018764805048704147, 0.028213975951075554, -0.04920552298426628, ...
<p>I have estimated the following model on Stata 13:</p> <p><code>tobit y x1 x2 x1x2</code></p> <p>where:</p> <ul> <li>$y$ is aid spending by a charity in a developing country</li> <li>$x_1$ is GDP per capita of developing country</li> <li>$x_2$ is proportion of official funding that charity receives (so is a fracti...
g19813
[ 0.018431097269058228, 0.016092723235487938, -0.01315221469849348, -0.02164844423532486, 0.007042803335934877, -0.0013009385438635945, 0.05092473700642586, 0.04150831326842308, -0.004408331122249365, -0.000715615984518081, 0.021056195721030235, 0.012086482718586922, 0.03533383086323738, -0....
<p>My teacher likes to give online quizzes that are about 20-30 questions long. Every student has the same questions in the same order. We are not told after taking the quiz which questions we got wrong, but the system does tell us our score.</p> <p>That made me curious as to inferring the answers statistically. (Note...
g62649
[ 0.03942091017961502, -0.045823581516742706, 0.02351190149784088, 0.021439239382743835, -0.006830146070569754, -0.0027389463502913713, 0.05117083713412285, 0.009623728692531586, -0.01297062262892723, -0.03850909695029259, 0.03212809935212135, -0.04586676135659218, 0.04930512234568596, 0.013...
<p>If the density $f(x,y) = c$ when $x&gt;0$, $y&gt;0$, $x+y &lt; 1$ and $0$ otherwise, find $$E((X+Y)^2 | X = x)\text{ for } x \in (0,1).$$</p> <p>How to approach this question?</p> <p>Can we approach it by letting it equal to </p> <p>$$E( (X+Y)^2 | X = x) = E (E( (X+Y)^2 | X = x))$$</p> <p>Just not sure...</p>
g62650
[ 0.04645153880119324, 0.006171473767608404, -0.011585692875087261, -0.03432708978652954, 0.04403609782457352, -0.0287835244089365, -0.0021391604095697403, 0.002916398923844099, -0.04798908904194832, -0.002678035059943795, -0.0016374287661165, -0.004305241629481316, 0.08224767446517944, 0.04...
<blockquote> <p>Let $X_1,X_2, \dots,X_n$ be a sample from a population with distribution function $F(x-\theta)$, where $F$ is symmetric around $0$. The $\alpha$ trimmed mean $T_n(\alpha)=\dfrac{1}{n-2\lfloor n\alpha \rfloor }\displaystyle\sum_{i=\lfloor n \alpha \rfloor+1}^{n-\lfloor n \alpha\rfloor}X_{(i)}$ is asymp...
g62651
[ -0.020930588245391846, 0.007272497750818729, -0.029326900839805603, -0.003503766842186451, -0.007236576173454523, -0.0418735072016716, 0.0637139230966568, 0.016764216125011444, -0.02735007368028164, -0.005585118196904659, -0.007143138442188501, 0.002586842980235815, 0.09408370405435562, 0....
<p>I am trying to implement an xorshift* PRNG (practically an xorshift with a multiplication step in the end) as a long term replacement of Java's Math.Random. I have been reading an article pointed out <a href="http://stats.stackexchange.com/a/83557/3014">in an answer to another question</a>, but I am confused with th...
g62652
[ 0.009520660154521465, 0.06576763838529587, 0.011769918724894524, -0.03186744824051857, -0.07408016920089722, -0.06340137124061584, 0.006352627649903297, 0.004098808392882347, -0.021455788984894753, -0.02861972153186798, -0.029135260730981827, 0.024454554542899132, 0.03319672867655754, 0.00...
<p>Let $Y$ denote the median and let $\bar{X}$ denote the mean, of a random sample of size $n=2k+1$ from a distribution that is $N(\mu,\sigma^2)$. How can I compute $E(Y|\bar{X}=\bar{x})$?</p> <p>Intuitively, because of the normality assumption, it makes sense to claim that $E(Y|\bar{X}=\bar{x})=\bar{x}$ and indeed th...
g62653
[ -0.029093710705637932, 0.0009053252870216966, -0.015759741887450218, -0.023645970970392227, -0.007835841737687588, -0.029771532863378525, -0.0003590062551666051, 0.059331540018320084, -0.009491234086453915, -0.0024941193405538797, 0.024121321737766266, 0.03789879381656647, 0.0226250514388084...
<p>I am sorry if my question is not fit here. If so, please recommend me the correct forum. I am thinking of estimating a fuzzy model using the EM method. I have a set of observations from a nonlinear model. I would like to Takagi-Sugeno fuzzy regression model, where the parameter estimation of the consequent parts are...
g19816
[ 0.036498866975307465, 0.013753884471952915, 0.01536461990326643, 0.0005481612170115113, -0.0036146233323961496, -0.011925695464015007, 0.009276323020458221, 0.05566610023379326, -0.07397371530532837, 0.017546456307172775, 0.05354684963822365, -0.055162396281957626, 0.05731626972556114, 0.0...
<p>It was my understanding that the training data has to be labeled to create a model and then label any unseen data. As in the case of using ANN, how is Google able to identify <a href="http://googleblog.blogspot.co.uk/2012/06/using-large-scale-brain-simulations-for.html" rel="nofollow">cats</a> in Youtube videos with...
g62654
[ -0.016314951702952385, 0.048942793160676956, 0.0017636156408116221, -0.08353517204523087, 0.06449123471975327, 0.019709443673491478, 0.029284946620464325, 0.060986243188381195, -0.026088416576385498, -0.03430720046162605, -0.04526006057858467, 0.01618994027376175, 0.12391869723796844, 0.03...
<p>I have two tables, you can think of them of results of two models. I would like to compare them to a benchmark to evaluate which model is a better fit. What statistical technique do I need to do this ?</p> <p>Right now, I'm just summing the absolute differences, with the smallest being the best fit, this doesn't se...
g19817
[ 0.03251652792096138, -0.023945482447743416, -0.01612916775047779, -0.03273310139775276, 0.0008602257003076375, -0.04406363144516945, -0.004309238400310278, -0.01684720814228058, -0.0684782937169075, 0.005026558879762888, 0.03603380173444748, -0.025411007925868034, 0.06316778063774109, -0.0...
<p>My objective is to improve out of sample generalization of my random forest <em>while holding the number of trees constant</em>. </p> <p>Suppose that I am only allowed to use $n$ trees on the out of sample data but it is computationally feasible to estimate $z$ trees on my in sample data where $z \geq n$ (from whic...
g19818
[ -0.01571260206401348, 0.0011125161545351148, -0.0004785838245879859, -0.004966978449374437, -0.0336109884083271, -0.046266358345746994, -0.011799800209701061, 0.014928941614925861, -0.013532556593418121, 0.03664998710155487, 0.022686442360281944, 0.016946204006671906, -0.013710199855268002, ...
<p><strong>Context:</strong> Consider a $M/E_2/1$ queueing system, where the customer arrival rate is $\lambda$ and the service time distribution has a gamma distribution with parameters $2$ and $\mu$, i.e. with p.d.f. $\mu^2te^{-\mu t}$ , $t ≥ 0$</p> <p><strong>Question:</strong> Assuming that the system is in equili...
g606
[ -0.037652723491191864, 0.01827097497880459, -0.026200151070952415, -0.0558231920003891, 0.0029506729915738106, 0.0018752564210444689, 0.0196711253374815, -0.007979908026754856, -0.06370314210653305, 0.01830068975687027, -0.02313973754644394, 0.015536540187895298, 0.03780895099043846, 0.015...
<p>I have the following situation:</p> <ul> <li>I'm asking SMEs (small &amp; medium enterprises) how they have reacted to situation ABC.</li> <li>Because I don't know who has encountered situation ABC, I ask all SMEs of one country (X).</li> <li>Only Y percent respond, because the others hadn't encountered this situat...
g62655
[ 0.014811599627137184, -0.00914437510073185, 0.007386564742773771, -0.011560563929378986, -0.02303214557468891, 0.012867454439401627, 0.03433914855122566, 0.01571948453783989, 0.06162631884217262, 0.0018792786868289113, 0.0059621878899633884, 0.028740910813212395, 0.051638297736644745, 0.03...
<p>If random points are chosen from a circle, what is the probability that all of them come from same semicircle ?</p> <p>My reasoning is that; Let two random points be chosen first. Obviously then both of them lie in same semicircle. Now mark any diameter including those two on the same side of it. Any more point c...
g10145
[ 0.03470050171017647, -0.03353482484817505, 0.003219880163669586, -0.018242059275507927, 0.01361009944230318, 0.0013829785166308284, 0.07362818717956543, 0.02484898455440998, -0.007334979251027107, 0.012560497969388962, -0.06880193203687668, 0.013123747892677784, 0.035065434873104095, -0.01...
<p>My question is specific to transportation modelling using a nested logit (NL) model. I wonder how to make a program including a <em>t</em>-parameter, <em>t</em>-value, and likelihood in R. I did estimation in a multinomial logit (MNL) model, and now I am planning to advance it using NL. Can anybody help do this?</...
g19819
[ -0.0544891282916069, 0.010010486468672752, -0.006666784640401602, 0.01446976326406002, -0.014074125327169895, -0.011819004081189632, -0.07019414007663727, -0.024934183806180954, -0.039791930466890335, 0.005817841272801161, -0.048823099583387375, -0.04134424030780792, 0.08427733927965164, 0...
<p>My name is Abhi and I am fairly new to statistics. I found some sample exercises online &amp; I am trying to solve them to get a better understanding of model development. </p> <h3>Problem Statement</h3> <p>Assume a forum like stack exchange or cross validated. Using parameters like number of comments, number of u...
g19821
[ -0.021879149600863457, 0.012299073860049248, -0.016859883442521095, -0.043290749192237854, 0.06201782822608948, 0.04008360579609871, 0.06094742193818092, 0.05916573852300644, -0.0010938799241557717, -0.024624010547995567, -0.03158131241798401, 0.01975458860397339, 0.025396008044481277, -0....
<p>I am interested in estimating an adjusted risk ratio, analogous to how one estimates an adjusted odds ratio using logistic regression. Some literature (e.g., <a href="http://aje.oxfordjournals.org/content/159/7/702.abstract" rel="nofollow">this</a>) indicates that using Poisson regression with Huber-White standard e...
g62656
[ -0.0005265997024253011, -0.022631844505667686, -0.013853874988853931, -0.008517113514244556, -0.0029896667692810297, -0.023449724540114403, 0.023651493713259697, 0.06589091569185257, -0.056690528988838196, 0.022798925638198853, 0.03643286973237991, -0.019885802641510963, -0.00494418945163488...
<p>X is a real-valued random variable with characteristic function:</p> <p>$\hspace{20mm}$$\phi(t) = \frac{1}{2}[cos(t) + cos(t\pi)$, $\hspace{10mm}-\infty&lt;t&lt;\infty$.</p> <ol> <li><p>Is the distribution of X completely continuous?</p></li> <li><p>Is there an r such that $E(X^r)$ does not exist or is infinite?</...
g19822
[ 0.0475170761346817, -0.007368279155343771, -0.02810846082866192, -0.09210379421710968, 0.0023077805526554585, 0.016440637409687042, -0.009396866895258427, 0.04460270330309868, -0.01462110411375761, 0.009977017529308796, -0.0051649692468345165, -0.004606516566127539, -0.022111359983682632, ...
<p>I have time series data of many variables (This data comes from high throughput biological experiments, which measure the amount of particular biological components such as RNA content of a cell etc., )</p> <p>The time series looks like </p> <p>$x \to x_1, x_2, x_3 $ which is the value of $x$ at time points $1,2,3...
g62657
[ 0.006294798105955124, 0.035468973219394684, -0.02428218349814415, -0.033849019557237625, -0.014163977466523647, -0.022136082872748375, 0.050277821719646454, -0.02169487066566944, -0.04859458655118942, -0.00419238954782486, -0.006308168172836304, 0.0950557217001915, 0.03134073317050934, 0.0...
<p>I'm not really familiar with Weka, I learned to use it by watching some tutorials so I am not 100% sure if my approach is the correct one.</p> <p>I have collected the Reuters21758 dataset and I use the documents prescribed in the ModApte split. To make it easy I load training and test instances in Weka (first all t...
g19825
[ -0.0364803746342659, -0.026996707543730736, 0.008397781290113926, -0.12237188220024109, -0.0014114505611360073, -0.0366944894194603, 0.0387691855430603, 0.02884938009083271, -0.0058707306161522865, -0.0594542920589447, 0.0267470832914114, -0.030634110793471336, 0.051287394016981125, -0.012...
<p>I was thinking about detecting the veracity of user ratings by examining the time-stamp. Basically I have a series of times $(t_1, t_2, \ldots, t_n)$. So assuming that ratings should normally come in at a constant rate, is there a good way to detect whether some time-stamps are unusually clumped up, because a set of...
g10147
[ 0.030347449705004692, 0.07666299492120743, 0.009630795568227768, -0.071725994348526, 0.021717268973588943, -0.035700760781764984, -0.012849272228777409, -0.0031941374763846397, -0.017312761396169662, 0.03413127735257149, 0.0008092056959867477, 0.04858168214559555, 0.008783060126006603, 0.0...
<p>I want to generate correlated random variables with a given correlation matrix, means, and variances. Does the Cholesky decomposition only work when the initial random variables are iids with the same mean and variance?</p>
g16224
[ 0.016049103811383247, -0.018272139132022858, -0.008730325847864151, -0.032790038734674454, -0.0036785562988370657, -0.01595895364880562, -0.0088568814098835, -0.008390290662646294, 0.01537831500172615, -0.03132227435708046, -0.006985189393162727, 0.002618622500449419, -0.0389123260974884, ...
<p>I have measured 23 patients three times pre and three times post treatment. Now I would like to see if the treatment had a significant effect. I thought about using a Wilcoxon rank sum test for this (because I don't know how the characteristic is distributed in the population), which takes two vectors of variables, ...
g62658
[ 0.010728320106863976, -0.044623296707868576, -0.025862524285912514, -0.06793660670518875, 0.029933081939816475, -0.026502856984734535, 0.06287667155265808, 0.011562187224626541, -0.03214253857731819, -0.003727829782292247, -0.06202072277665138, 0.052825234830379486, -0.009247471578419209, ...
<p>Sorry for my bad English, could you suggest R-code for the implementation of difference-in-difference regression? I don't understand how many coefficients I need. In my analysis I compare the effect of a new law on the stock exchange volume, I have 2 periods and 2 samples. Thanks a lot!</p> <p>Thanks Jeremy, but i...
g62659
[ -0.03364897891879082, -0.022470563650131226, 0.0036816149950027466, -0.0018144656205549836, 0.012384718284010887, -0.02896275743842125, 0.07191626727581024, -0.029951220378279686, -0.027619173750281334, -0.003956147003918886, -0.0707419216632843, 0.05354389175772667, -0.0009388172184117138, ...
<p>It is quite common to discuss what metrics to be used for a model/algorithm/method. But when it comes to metrics of datasets, it is much less discussed.</p> <p>I wonder, what are the general metrics for datasets? That is to say, how does one quantitively measure if a dataset is good or not for its purpose?</p> <p>...
g200
[ -0.023089872673153877, 0.013252103701233864, -0.026157516986131668, -0.06061793491244316, 0.0011013096664100885, -0.0016751117072999477, -0.00009847524779615924, 0.046626392751932144, -0.04529809579253197, 0.008777099661529064, 0.05601726472377777, 0.004191573243588209, 0.06475894153118134, ...
<p>What does it mean "The means are statistically equals?" I ask this question because I'm studing ANOVA (<code>anova()</code> function in R) and I know that this test checks if the means of N groups are statistically equals.</p> <p>My doubt concerns what "statistically equals" means because if I have two series like:...
g42407
[ -0.012803780846297741, -0.0021017349790781736, 0.014584355056285858, -0.001999812200665474, 0.004319153726100922, 0.020669138059020042, 0.02090132050216198, 0.018460135906934738, -0.014206133782863617, -0.009304854087531567, -0.083567775785923, 0.05516621470451355, 0.0024969829246401787, 0...
<p>We have recently conducted a cluster analysis for an open card sorting task in which 19 experts grouped 112 items each. We achieved decent silhouette values for the cluster analysis but have been asked by reviewers to provide evidence that the number of experts we used was sufficient for this task (I think they are ...
g19830
[ -0.06814859062433243, 0.04534460976719856, 0.03035528026521206, -0.04718700051307678, 0.002765636658295989, -0.057327352464199066, -0.010003184899687767, 0.021808931604027748, -0.039472974836826324, 0.027649812400341034, 0.05300161615014076, -0.04354067146778107, 0.0457356832921505, 0.0112...
<p>I'm currently building a chart with Excel out of a fair number of lines of statistics.</p> <p>Since there are too many lines, i cannot plot them all, otherwise the chart would become unreadable.</p> <p>I'm currently selecting the lines and values by hand, which is a tedious process. I'm trying to automate some of ...
g19831
[ 0.031128885224461555, -0.009072311222553253, -0.008449507877230644, -0.007977455854415894, -0.02027752995491028, -0.04145176708698273, 0.010588685981929302, -0.028411611914634705, -0.05817196145653725, -0.06162036955356598, -0.003087118500843644, -0.013629214838147163, 0.05971711874008179, ...
<p>What is the most appropriate sampling method to evaluate the performance of a classifier on a particular data set and compare it with other classifiers? Cross-validation seems to be standard practice, but I've read that methods such as .632 bootstrap are a better choice. </p> <p>As a follow-up: Does the choice of ...
g19833
[ 0.03531615808606148, -0.013455795124173164, 0.03182647377252579, -0.07210475206375122, -0.0031653151381760836, 0.004341765306890011, 0.0241305660456419, -0.015253016725182533, -0.036472711712121964, 0.014792263507843018, 0.07246417552232742, 0.033992405980825424, 0.06805621832609177, 0.008...
<p>For reasons I won't go into, I want to test for group differences between an entire sample A ($n=65$) and a subsample B ($n=45$). All of the variables I want use for mean comparisons are continuous. </p> <p>Is there an appropriate test for this? </p> <p>This doesn't seem to meet the sample independence conditio...
g62660
[ -0.010712887160480022, -0.035927608609199524, 0.008499016053974628, -0.03203243762254715, -0.06485659629106522, -0.028677888214588165, 0.017295433208346367, 0.027784716337919235, -0.054386746138334274, 0.016564862802624702, 0.048090338706970215, 0.0032732586842030287, -0.0811714306473732, ...
<p>Alright, so I have about a thousand datapoints that I'm plotting on a chart (scatter plot).</p> <p>Here's a few of the records:</p> <pre><code>x y 2.426032708 10 9.449923509 24 4.409997771 24 -3.125392294 11 13.04820475 26 </code></pre> <p>When looking at the full data on a chart, I can visu...
g19834
[ 0.014318966306746006, 0.023028526455163956, -0.023507224395871162, -0.02711920253932476, -0.023355524986982346, -0.06493079662322998, 0.030038299039006233, -0.007098337169736624, -0.034533314406871796, -0.054231442511081696, -0.020460933446884155, 0.09206076711416245, 0.07149919867515564, ...
<p>I am asking this because I know there are IA's for cross sectional estimators and D-in-D estimators, but am unsure if there are any for IV estimation. Does anyone know if there is or isn't, and if there is - what would it be?</p>
g19835
[ -0.01236278098076582, -0.04633435606956482, 0.021292669698596, -0.020101439207792282, -0.0507533885538578, -0.03670114651322365, 0.018260125070810318, 0.0038550777826458216, -0.020592130720615387, 0.022007744759321213, -0.02069031074643135, 0.013684486038982868, -0.015548388473689556, -0.0...