question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I have a dataset structured as follows:</p> <pre><code>Variable1 Variable2 Variable3 Variable4 Variable5 Variable6 Variable7 Variable8 60 70 75 73 57 69 85 90 55 66 47 79 63 76 82 97 </code></p...
g110
[ 0.07412412017583847, -0.09357289969921112, -0.025714628398418427, -0.03676538169384003, 0.025493264198303223, -0.045227423310279846, 0.049161095172166824, 0.030722051858901978, -0.024694714695215225, -0.05730627477169037, 0.044983215630054474, 0.03415433317422867, 0.047829724848270416, -0....
<p>Suppose I flip a coin 584,369 times and observe 5,257 heads and 579,112 tails. I wish to know the lower edge of the 90% credible interval for the probability that the next flip will come up heads.</p> <p>I believe:</p> <ul> <li>I could use a <a href="http://en.wikipedia.org/wiki/Beta_distribution" rel="nofollow">b...
g66320
[ 0.039741043001413345, 0.027127550914883614, -0.023274768143892288, -0.07977575063705444, 0.05468277260661125, -0.02013646811246872, 0.035991039127111435, 0.03610704466700554, -0.03770751506090164, -0.04225001856684685, -0.012324768118560314, 0.07907015085220337, 0.03185692057013512, -0.054...
<p>When an observation $x$ is generated by $P(x|\theta)$ for a parameter $\theta$ the Bayesian optimal estimator for the value of $\theta$ is $\hat\theta_{BEST}=\mathbb{E}[\theta|x]=\frac{1}{P(x)}\int d\theta P(\theta)P(x|\theta)$. </p> <p>Now assume that instead of using $P(x|\theta)$ in the above formula we have $Q(...
g27274
[ 0.0011899739038199186, -0.0341656468808651, -0.0018541571917012334, 0.01332932710647583, 0.02653365582227707, -0.0015389856416732073, -0.010792417451739311, 0.00043008357170037925, -0.02760491520166397, 0.002802999457344413, -0.0004144866543356329, 0.05000685900449753, 0.02655581384897232, ...
<p>From <a href="http://en.wikipedia.org/wiki/Dynamic_Bayesian_network">Wikipedia</a></p> <blockquote> <p>A Dynamic Bayesian Network (DBN) is a Bayesian Network which relates variables to each other over adjacent time steps. This is often called a Two-Timeslice BN because it says that <strong>at any point in tim...
g66321
[ 0.03375915810465813, 0.009736028499901295, 0.024499621242284775, 0.03180510178208351, 0.02027260884642601, -0.015274926088750362, -0.016419490799307823, 0.022794431075453758, -0.042654894292354584, -0.03423748165369034, -0.04894734546542168, 0.03999495506286621, 0.006498166359961033, -0.00...
<p>I'm using a time-series model to do weekly forecasts on the number of <strong>incoming calls</strong> to a company. This variable has a weekly 'in-month' pattern and a monthly 'in year' pattern, and i have data from 2008-01-01 to 2012-08-31.</p> <p>To explain it better: Mondays show peaks along weeks, and rainy mon...
g25286
[ 0.021663837134838104, -0.022407613694667816, -0.024206990376114845, -0.07613591849803925, -0.04398808628320694, -0.0014854628825560212, -0.005336807109415531, -0.01878662034869194, -0.012327028438448906, -0.0052301413379609585, 0.08952046930789948, -0.028696751222014427, 0.11037754267454147,...
<p>I am programmer developing a Software that features the display of a probability plot. As far as I know there are 2 different ways to display a probability plot (please correct me if I say something wrong):</p> <ul> <li>A Percent / Percent Chart</li> <li>A Quantile / Quantile Chart</li> </ul> <p>My customers want ...
g66322
[ 0.013701853342354298, 0.023320527747273445, -0.021483656018972397, -0.052554063498973846, -0.02098975144326687, -0.009175256825983524, 0.03946564719080925, -0.022298133000731468, -0.02626887895166874, -0.050207141786813736, 0.05957404151558876, 0.008687596768140793, 0.06246643140912056, -0...
<p>I have a question regarding my dat. It appears that i have extremely large values of the F statistics, ranging from 20 to 20,000. How is this possible? I should mention that it is panel data, controlled for fixed effects as well as clustering. thanx in advance, Luisa</p>
g38003
[ 0.007786985952407122, 0.044154778122901917, -0.007719526533037424, -0.05835391581058502, 0.031076017767190933, -0.0079535823315382, 0.012514262460172176, 0.04378853738307953, -0.019595863297581673, -0.09493514895439148, -0.043693721294403076, -0.0016091562574729323, 0.09145217388868332, -0...
<p>I have an experiment with 44 subjects and two within-subject factors, condition (3 levels) and round (6 levels). It is fully crossed such that each person completes one of each task condition in each round. I have done the analysis (and ANOVA) in R using the lmer function. My lmer model is:</p> <pre><code>lmer(dist...
g66323
[ -0.04674378037452698, -0.0343133769929409, -0.0032657391857355833, -0.04373347759246826, -0.0030882928986102343, -0.0000195460015675053, 0.06401115655899048, -0.024764271453022957, -0.017849691212177277, -0.009732895530760288, -0.045818991959095, -0.004928699228912592, -0.005618189927190542,...
<p>I'm running a series of permutation tests inside 2 for loops (2 for loops will calculate some new data and then this data will be shuffled and then i apply a linear regression based on the shuffled data). Here is my code:</p> <pre><code>for(i in seq(1,12000,200)) { for j in seq(1, 12000, 200)) { ...
g66324
[ -0.0179587509483099, -0.014491051435470581, -0.012525022961199284, -0.06694672256708145, -0.004018457606434822, -0.05953362211585045, 0.04353327676653862, 0.01074522640556097, -0.03872721642255783, -0.03264365345239639, -0.026225971058011055, 0.03004782646894455, 0.018005017191171646, 0.02...
<p>I have a 2x3 factorial design for my experiment: 3 levels of information given to participants (None, Moderate, Extreme), and 2 levels of time that the information focuses on (2050 or 2100), for those who received information.</p> <p>I'm curious about how to deal with the fact that my control group, receiving no in...
g66325
[ -0.02151022106409073, -0.012374904938042164, -0.011789522133767605, -0.03374861180782318, 0.032536253333091736, -0.025588342919945717, -0.006973390933126211, -0.02498660981655121, -0.02722403220832348, -0.020471585914492607, 0.055415742099285126, 0.01835947483778, 0.004368586000055075, 0.0...
<p>I need to calculate MR but my data consists of many dummy variables. I had a question in my survey that asked for the budget/month. But instead of giving the option to fill in a value, I offered ranges (steps of 250, so I have like 0-250; 250.01-500 and so on)</p> <p>I created dummy variables for these different st...
g25294
[ -0.046797189861536026, 0.012255676090717316, 0.008475547656416893, -0.049533355981111526, -0.031804297119379044, -0.003949260804802179, -0.000991545501165092, -0.01893148571252823, -0.01570417359471321, -0.03371607884764671, -0.023779192939400673, 0.02226460911333561, -0.011567998677492142, ...
<p>According to <a href="http://www.itl.nist.gov/div898/handbook/prc/section2/prc241.htm" rel="nofollow">http://www.itl.nist.gov/div898/handbook/prc/section2/prc241.htm</a> Agresti-Coull intervals cannot be negative; however using the formula from Wikipedia as well as the binom.confint function in R with x = 0 and n = ...
g25296
[ 0.016033319756388664, 0.044295355677604675, -0.010716313496232033, 0.024188408628106117, 0.030927352607250214, -0.02104608714580536, 0.0169525109231472, -0.07066651433706284, -0.084705650806427, 0.01917787827551365, -0.042758043855428696, 0.04604312404990196, 0.007138573564589024, -0.03616...
<p>I'm trying to determine statistical significance of inputs on the dependent variable using neural networks. I'm trying to test the null hypothesis that the partial derivatives are equal to zero. I found a method called Bootstraping but it requires to retrain the neural network a 1000 times. Is there any alternative ...
g66326
[ 0.02952069789171219, 0.033404674381017685, 0.010446286760270596, -0.035524945706129074, 0.018714994192123413, -0.07853089272975922, 0.07741502672433853, 0.036277271807193756, -0.06172771751880646, -0.008540353737771511, -0.025356410071253777, 0.007107503246515989, 0.042850419878959656, 0.0...
<p>I am using three categorical predictor variables $X_1$, $X_2$, $X_3$ and one continuous dependent variable $Y$, and I want to treat $X_3$ as a random effect.</p> <p>The simplest model I could come with:<br/></p> <pre><code>M1&lt;-lme(Y~X1*X2, random=~1|X3,method="ML") </code></pre> <p>Here are some more complex m...
g66327
[ -0.04183520749211311, -0.05039127543568611, -0.014683803543448448, -0.012834083288908005, 0.020889418199658394, 0.011443729512393475, 0.029738718643784523, -0.011921039782464504, -0.055045951157808304, -0.014556019566953182, -0.016431381925940514, 0.027308475226163864, 0.07397709041833878, ...
<p>I have a questionnaire with one "open" text box, and 20,000 responses. I'm not planning to read all of them, but I'm thinking of interesting things to do with them. A general tag cloud would not be very interesting (I can predict which words would be the biggest), but it would be fun to split it along another catego...
g25298
[ -0.022187288850545883, 0.034633930772542953, 0.012294167652726173, -0.07644585520029068, -0.012979278340935707, -0.06322555989027023, 0.012850075960159302, 0.038846053183078766, 0.03454476594924927, 0.00011356412142049521, 0.056406352669000626, -0.020272523164749146, 0.08545427024364471, 0...
<p>I have been wading through the many discussions on outliers on this site but I am still unfortunately having difficulty determining what to do with my data set.</p> <p>My study consists of a simple pre-post test setup whereby i conduct 6 tests prior to and 6 tests following my treatment. The purpose of the repeated...
g25299
[ -0.019571026787161827, -0.039996467530727386, 0.02394421398639679, -0.020166795700788498, -0.06115648150444031, -0.01619868166744709, 0.05497419834136963, 0.007746957708150148, -0.013103983364999294, -0.010038367472589016, 0.05997016653418541, 0.0360758937895298, -0.027819935232400894, -0....
<p>I have been using the fPortfolio package and have found some inconsistency in the usage of terminology in the package. </p> <p>What does a "covariance risk budget" in the result returned by mean variance portfolio optimization- mean?</p>
g45103
[ 0.03661692515015602, -0.015067772939801216, -0.008103564381599426, -0.031113144010305405, 0.028419164940714836, -0.01194806583225727, 0.03248646855354309, -0.05321096256375313, -0.026429569348692894, -0.01898234710097313, -0.029202597215771675, -0.017229482531547546, 0.04292220622301102, 0...
<p>Suppose you have a casino with <em>n</em> poker players. Each player has a win rate - the amount of money he wins or loses per hand. We assume that these win rates are normally distributed with a mean of 0. (We also assume that the players don't pay the casino any money.) Our goal is to estimate the variance <em>V</...
g66328
[ -0.002353926422074437, -0.011407454498112202, 0.008211364038288593, 0.007608086336404085, -0.024825874716043472, -0.04326120764017105, 0.02011466957628727, 0.017496738582849503, 0.013593211770057678, -0.003309080144390464, -0.019112011417746544, 0.04195089265704155, 0.017940877005457878, 0...
<p>I have the following dataset (triplicate values of 5 independent measurements and duplicate values of a control):</p> <pre><code>Sample 1 Sample 2 Sample 3 Sample 4 Sample 5 C 181.8 58.2 288.9 273.2 290.9 53.9 120.3 116.8 108.9 281.3 446 39.6 8...
g45605
[ -0.004422379657626152, -0.0077906143851578236, -0.005149299278855324, -0.024285688996315002, -0.016686219722032547, -0.04612124711275101, 0.03786797076463699, 0.0061816805973649025, -0.03905050829052925, -0.0009732323233038187, 0.00404973141849041, 0.018604109063744545, 0.007861779071390629,...
<p>I want to perform an ANOVA using R. I have three populations, represented by their respective means and SD: Pop.1: 5.5 +- 0.4 (n=100) Pop.2: 5.9 +- 0.3 (n=150) Pop.3: 6.2 +- 0.5 (n=200)</p> <p>Which is the exact code using R to perform the ANOVA using exclusively these data?</p> <p>Moreover, how can I perfom subse...
g32825
[ 0.03862239792943001, -0.055738091468811035, 0.0012401101412251592, -0.03557971119880676, -0.03422478586435318, -0.027279730886220932, 0.011575868353247643, 0.011531450785696507, -0.051342349499464035, 0.0461466908454895, -0.038726773113012314, 0.030407041311264038, 0.008596448227763176, 0....
<p>I have been reading a number of papers where researchers have created risk scores based on logistic regression models. Often they refer to "<a href="http://www.ncbi.nlm.nih.gov/pubmed/15122742" rel="nofollow">Sullivan's method</a>" but I have no access to this paper and the explanations provided are far from clear. ...
g66329
[ 0.013023165985941887, -0.0034430099185556173, -0.013940030708909035, -0.04242834448814392, 0.015349902212619781, -0.06122671067714691, 0.04189976304769516, 0.018110493198037148, -0.0816628560423851, -0.04179009795188904, -0.011862006038427353, 0.016224604099988937, 0.09270227700471878, -0....
<p>I have been investigating the possibility of using the interval between uncommon events to test for changes in the frequency of such events over time.<br> As an example, say that the event is breaking a record in some sporting competition. This might occur at most a few times a year, and the data segmentation proble...
g25312
[ 0.028348499909043312, 0.042183998972177505, -0.0009872972732409835, -0.051941677927970886, -0.0478898249566555, -0.02008390985429287, 0.02249445766210556, 0.041352856904268265, 0.00957227312028408, -0.028178563341498375, 0.002967496169731021, 0.008733726106584072, -0.019360247999429703, -0...
<p>This is the Jensen's inequality I saw in my textbook: </p> <p>$$E{ f(X) } \geq f( E(X) ),$$</p> <p>where $f$ is a convex function.</p> <p>Is this also applicable for two random variables--independent or otherwise--like this:</p> <p>$$E{ f(X,Y) } \geq f( E(X,Y) )?$$</p>
g45612
[ -0.002896783174946904, 0.010333901271224022, 0.013449857011437416, 0.03748268634080887, -0.024160683155059814, 0.0027805278077721596, -0.05980057269334793, -0.01779310405254364, -0.016354545950889587, 0.024535896256566048, -0.018314648419618607, 0.04215065762400627, 0.003343023359775543, 0...
<p>Can I use the t-test to compare means between groups (N=300) if data is not normally distributed? </p>
g49749
[ -0.02290933020412922, -0.007823704741895199, -0.00867780577391386, -0.07506661862134933, -0.013641387224197388, -0.0016974079189822078, -0.014758279547095299, -0.022286618128418922, -0.035953033715486526, -0.00796638336032629, 0.003009714186191559, -0.003273315029218793, -0.01549354009330272...
<p>I have been looking at unit root testing. Specifically 2 tests:</p> <ol> <li><p><strong>The ADF test.</strong> The ADF (augmented Dickey Fuller) test has the null hypothesis that "the time series has a unit root" (meaning that the time series is not weakly stationary) </p></li> <li><p><strong>The KPSS test.</stron...
g66330
[ 0.07894487679004669, -0.0206367876380682, -0.0007068490376695991, -0.003484957618638873, 0.046176470816135406, -0.027128159999847412, 0.03147192671895027, 0.029638037085533142, 0.0104563869535923, -0.035026345402002335, 0.04281473532319069, 0.05516129732131958, 0.02565033920109272, 0.03743...
<p>For instance, I have a bar chart - in which I have 4 samples/bars. for these 4 bars, I want to check statistical significance for all combinations.</p> <ol> <li><p>How can I do it? Can unpaired t-test be used - to compare 2 samples at a time? or this is not correct. What is then the appropriate way in which all the...
g66331
[ -0.0008495973306708038, -0.009195192717015743, -0.013805200345814228, -0.06595147401094437, 0.056705981492996216, -0.07022643834352493, 0.0460267998278141, 0.023276932537555695, -0.05099174380302429, -0.01173738669604063, 0.014194010756909847, -0.02137036621570587, 0.03984544053673744, 0.0...
<p>How to test for simultaneous equality of choosen coefficients in logit or probit model ? What is the standard approach and what is the state of art approach ?</p>
g47847
[ -0.050327740609645844, 0.006969386246055365, 0.009846859611570835, 0.006903619971126318, 0.08388090133666992, -0.022477855905890465, 0.022919215261936188, -0.0327925942838192, -0.0287309642881155, 0.010009584948420525, -0.033971019089221954, 0.028087448328733444, 0.03287738934159279, 0.003...
<p>I've got a set of (continuous) values from a measurement, where each object should be either positive or negative, and I know that the values of the "negative" objects should be approximately normally distributed.</p> <p>I've been using a <code>k-means</code>-based algorithm in <code>R</code> to cluster the data an...
g66332
[ 0.04101640731096268, -0.04143437743186951, 0.00019584930851124227, -0.01935691013932228, -0.04261147230863571, 0.024976229295134544, -0.02543170563876629, 0.03516571968793869, -0.020011328160762787, 0.016624778509140015, 0.04307181388139725, 0.012884700670838356, 0.04031064733862877, -0.01...
<p>I have been reading a <a href="https://media.readthedocs.org/pdf/a-little-book-of-r-for-time-series/latest/a-little-book-of-r-for-time-series.pdf" rel="nofollow">tutorial</a> for an introduction to time series.</p> <p>It contains a dataset, with an $Arima(2,0,0)$ forecast along with a 80% and 95% prediction interva...
g10649
[ 0.049649178981781006, -0.05456346273422241, -0.009828414767980576, -0.018155263736844063, -0.04389437288045883, 0.0011950042098760605, 0.02773311734199524, 0.048663463443517685, -0.04790252074599266, -0.027582207694649696, 0.04991910979151726, 0.046170674264431, 0.11184287071228027, -0.037...
<p>I have a set of Inspection Time data that consists of two variables: SOA (stimulus onset asynchrony) and Accuracy. This data refers to how accurately you can perform on a simple stimuli discrimination task at a given duration of exposure. The accuracy data is binary (0,1) and the SOA data is in increments of .01 (...
g66333
[ 0.04239018261432648, -0.05878521502017975, 0.01513745542615652, -0.01595817692577839, -0.03486792743206024, -0.05594087019562721, 0.07617287337779999, 0.04311992600560188, -0.005977324675768614, 0.01641349121928215, 0.07457011193037033, 0.044312603771686554, 0.04726890102028847, 0.00510826...
<p>The problem is:</p> <blockquote> <p>Suppose we fit a model Y = X<sub>A</sub> β<sub>A</sub> + ε. However, the true model is Y = X<sub>A</sub> β<sub>A</sub> + X<sub>B</sub> β<sub>B</sub> + ε. A is k<sub>A</sub> x 1 and B is k<sub>B</sub> x 1. Show that the OLS estimates of β<sub>A</sub> will still be equal if X<s...
g66334
[ 0.0179589856415987, 0.04967537894845009, 0.004244024865329266, -0.040724486112594604, 0.028094355016946793, -0.039269208908081055, -0.018064847216010094, 0.047109004110097885, -0.021797459572553635, 0.05416274443268776, 0.00925470795482397, 0.043533217161893845, 0.03540898486971855, 0.0238...
<p>I have seen five types of estimates of kurtosis and skewness:</p> <ul> <li>three from <a href="http://stats.stackexchange.com/a/84057/1005">http://stats.stackexchange.com/a/84057/1005</a></li> <li>one from <a href="http://books.google.com/books?id=OKUGARAXKMwC&amp;lpg=PP1&amp;dq=financial%20time%20series%20tsay&am...
g66335
[ 0.0011692879488691688, 0.00449230894446373, 0.010680679231882095, 0.019653702154755592, -0.029101505875587463, -0.015604529529809952, -0.02711784653365612, 0.006576349027454853, -0.03531878814101219, 0.008193767629563808, 0.046618279069662094, 0.00021038201521150768, 0.05022318288683891, 0...
<p>For the likelihood associated with the mixture model </p> <p><code>1/4*Normal(mu1,1)+3/4*Normal(mu2,1)</code></p> <p>I would like to have a figure as like as following one for a simulated sample of 500 observation from <code>mu1=0</code> and <code>mu2=2.5</code>. My <code>R</code> code is:</p> <pre><code>da=rbind...
g66336
[ -0.04403407871723175, -0.044027552008628845, -0.013020899146795273, -0.04217836633324623, -0.03544137626886368, -0.0224956963211298, 0.03744235634803772, 0.014910846948623657, -0.026971163228154182, -0.021062372252345085, -0.009958288632333279, 0.019082114100456238, 0.05897669121623039, 0....
<p>I am having a hard time understanding what a sufficient statistic actually helps us do.</p> <p>It says that</p> <p>Given $X_1, X_2, ..., X_n$ from some distribution, a statistic $T(X)$ is sufficient for a parameter $\theta$ if</p> <p>$P(X_1, X_2, ..., X_n|T(X), \theta) = P(X_1, X_2, ..., X_n|T(X))$.</p> <p>Meani...
g66337
[ -0.0016412528930231929, 0.02921740896999836, -0.017148369923233986, -0.0328221432864666, 0.01171119324862957, 0.019301410764455795, -0.01113077998161316, 0.0349300280213356, -0.052876148372888565, -0.024675501510500908, -0.014783953316509724, -0.009944031946361065, 0.06627760082483292, -0....
<p>I'm having trouble finding a suitable model for predicting the AVG value (revenue in cents) of a single click on a product on a large e-commerce site. (assuming a click leading directly to a purchase has value equal to its revenue)</p> <p>Using only categorical (perhaps ordered) predictors, how do I best model a co...
g66338
[ -0.03358418121933937, 0.06969501078128815, -0.030247878283262253, -0.0072111464105546474, -0.007158315274864435, -0.03444702923297882, 0.054472874850034714, 0.021065352484583855, 0.006808466278016567, 0.011349959298968315, 0.007732987869530916, -0.022805988788604736, 0.054874662309885025, ...
<p>On page 331 of "Elements of Information Theory" (1991), author says that while entropy is related to the volume of the typical set, Fisher information is related to the surface area of the typical set, but I can't find anything more on this...can anyone explain this connection?</p>
g66339
[ -0.018619632348418236, 0.0021617095917463303, -0.00435766763985157, -0.03260039538145065, -0.03455860912799835, -0.01175892073661089, 0.009564600884914398, 0.023719117045402527, -0.08027847111225128, -0.011966757476329803, 0.00830091256648302, -0.00006149129330879077, 0.06451986730098724, ...
<p><strong>Duplicate thread:</strong> <a href="http://stats.stackexchange.com/questions/73/what-r-packages-do-you-find-most-useful-in-your-daily-work">What R packages do you find most useful in your daily work?</a></p> <p>Are there any R packages that are just plain good to have, regardless of the type of work you are...
g66340
[ -0.021738780662417412, -0.03147202730178833, -0.016941068693995476, 0.024869833141565323, 0.018582696095108986, -0.046184953302145004, 0.006185460835695267, -0.0719466283917427, -0.001560601987875998, -0.011999080888926983, 0.028002897277474403, -0.02050662785768509, -0.037708550691604614, ...
<p>I have seen some classes in my University labeled as an "Inference class" and others as "Machine learning" classes, but I was not sure if appreciated the core difference between these two labelings? </p> <p>I normally think of machine learning as the study of systems/algorithms that are able tp extract information ...
g49750
[ 0.015865741297602654, -0.028578508645296097, 0.011881961487233639, -0.06426618248224258, -0.017196206375956535, 0.000845257774926722, -0.01348809339106083, 0.03349442407488823, -0.016587872058153152, -0.020520636811852455, 0.034451231360435486, -0.011645045131444931, 0.08588006347417831, 0...
<p>I'm playing around with kernel Canonical Correlation Analysis, as implemented in the R package kernlab. Is there a simple way to extract the residuals after fitting? (Is this a well-defined quantity?) Here's some sample code:</p> <pre><code>library(kernlab) x = as.matrix(rnorm(100)) y = as.matrix(.5 * x + rnorm(100...
g66341
[ 0.027895119041204453, -0.06034208834171295, 0.0016787077765911818, -0.052148181945085526, -0.04058151692152023, -0.04941253364086151, 0.0251315850764513, 0.02183002233505249, -0.04626568406820297, -0.005792086943984032, -0.017019491642713547, -0.007282279431819916, 0.007892061956226826, 0....
<p>Rephrased a problem trying to solve for work in terms of people buying wine, also included progress made so far.</p> <p><strong>Set-up:</strong> Customers enter a winery with the option of buying bottles of wine. Those who chose not to purchase can leave through one exit while those who wish to purchase go to the c...
g66342
[ -0.013162432238459587, -0.0040269289165735245, 0.0006251753657124937, 0.0024429450277239084, 0.006770505104213953, -0.03488856181502342, 0.03636936843395233, 0.029987988993525505, 0.005032320041209459, -0.00015787819575052708, 0.0071373204700648785, -0.0010589694138616323, 0.0226079300045967...
<p>I am doing research on the field of functional response of mites. I would like to do a regression to estimate the parameters (attack rate and handling time) of the Rogers type II function. I have a dataset of measurements. <strong>How can I can best determine outliers?</strong></p> <p>For my regression I use the fo...
g25324
[ 0.04398057237267494, -0.05783319100737572, 0.00036570613156072795, -0.004993974696844816, -0.015067510306835175, -0.0287373848259449, 0.011909524910151958, 0.002308941911906004, -0.08655080199241638, -0.03800661116838455, 0.008765154518187046, 0.057232823222875595, 0.02236447110772133, 0.0...
<p>I'm not sure if machine learning is the best way to do this, but I'm interested in seeing if this problem is feasible. Normally you use machine learning for classification. ie.given the size of a tumor and the color(darkness) of the tumor, determine whether its lethal or benign. However, say you want to figure out h...
g66343
[ 0.046687882393598557, -0.031135130673646927, 0.021439408883452415, -0.06615276634693146, -0.045887384563684464, -0.0424237959086895, 0.04428017511963844, -0.010474806651473045, -0.0670112669467926, -0.012580509297549725, 0.03042519837617874, 0.0519120953977108, 0.1197662279009819, -0.01212...
<p>Suppose you have a response variable, number of transactions a customer makes in the 24 hour period following acquisition, which follows a negative binomial distribution. Let's call the response <em>trans</em>. </p> <p>Now it's easy to model the number of transactions the customer makes in this immediate 24 hour pe...
g66344
[ 0.030923858284950256, 0.022222395986318588, 0.004973710048943758, -0.00980418175458908, -0.015011809766292572, -0.056252725422382355, -0.005875450558960438, -0.021998954936861992, -0.01796235516667366, 0.007518644444644451, 0.02655550092458725, -0.025654049590229988, 0.08813153207302094, -...
<p>I have a data set (21 binned values) which I have fitted to a Gaussian with IDL ($\mu=3.825$, $\sigma =0.0377$). I have tried to find the $\chi^2$, getting $21.14$ for $20$ d.f.. Here my understanding is a little shakey; I think this means I can be 60% confident that the distribution is normal (please correct me if ...
g66345
[ -0.017415573820471764, 0.03677510470151901, 0.0000060283427956164815, -0.04046424478292465, -0.0102769760414958, -0.036957573145627975, -0.023040413856506348, -0.009434559382498264, -0.011082205921411514, -0.039545688778162, -0.015714004635810852, 0.02527143992483616, 0.024375850334763527, ...
<p>I'm new to data mining and I'm trying to train a decision tree against a data set which is highly unbalanced. However, I'm having problems with poor predictive accuracy.</p> <p>The data consists of students studying courses, and the class variable is the course status which has two values - Withdrawn or Current.</p...
g25327
[ -0.02091326378285885, -0.033246275037527084, -0.0006663386593572795, -0.04930868372321129, 0.005330369807779789, -0.021605966612696648, 0.00939439982175827, 0.03640683740377426, 0.012930442579090595, -0.010240785777568817, 0.016195423901081085, 0.01818215101957321, 0.08624584227800369, 0.0...
<p>I’m hoping to get some guidance in specifying a mixed model using the lme4 package in R.</p> <p>The study is quite straightforward. It’s a repeated measures design with pre/post measurements on the variable of interest where half of the participants received the treatment (a physical therapy program) and the other...
g25329
[ -0.040703292936086655, -0.054776810109615326, -0.02859608083963394, -0.02878412976861, 0.0026130436453968287, -0.011309216730296612, 0.03354651480913162, -0.008258329704403877, -0.03267058730125427, -0.004259827546775341, -0.005083753261715174, -0.0057464176788926125, 0.0016482361825183034, ...
<p>The following question might have relations to <a href="http://stats.stackexchange.com/questions/77529/correlation-of-distribution-standard-deviation-with-subtraction-of-its-mean-from" title="Correlation of distribution standard deviation with subtraction of its mean from mean of normal distribution">this question</...
g66346
[ 0.010256902314722538, -0.008535631000995636, -0.0038425615057349205, -0.013103018514811993, -0.01413836982101202, 0.002034020610153675, 0.00013078736083116382, -0.014580820687115192, 0.0029803540091961622, -0.053284600377082825, 0.0008935121586546302, -0.013104877434670925, 0.028302995488047...
<p>I'm looking to model land cover change using a variety of environmental predictors (e.g. elevation, rainfall, etc.) stored as raster layers. In most similar studies I've found in the literature the authors sample the raster layers at some subset of the cells before performing the regression. I'm trying to understand...
g66347
[ 0.06321007013320923, -0.007883522659540176, -0.008195788599550724, -0.01325436681509018, -0.025572888553142548, -0.03935356065630913, 0.03645824268460274, -0.018785715103149414, -0.052239466458559036, 0.004216252360492945, 0.0492434985935688, 0.03190724924206734, 0.04246462136507034, 0.038...
<p>I am studying classification and regression trees, and one of the measures for the split location is the GINI score. </p> <p>Now I am used to determining best split location when the log of the likelihood ratio of the same data between two distributions is zero, meaning the likelihood of membership is equally like...
g66348
[ 0.007874655537307262, -0.02204502746462822, -0.021480120718479156, -0.07439154386520386, 0.0069937570951879025, -0.023411214351654053, 0.022229814901947975, 0.037287723273038864, -0.008301028981804848, -0.02043813280761242, -0.025636587291955948, -0.009107155725359917, 0.016483096405863762, ...
<p>Bootstrap is a well known resampling method. But I want to know what is blocked weighted bootstrap sampling? Why we need this? </p>
g66349
[ 0.012066797353327274, 0.07105808705091476, 0.028453627601265907, -0.021718019619584084, -0.01805581897497177, 0.0016160821542143822, 0.022542640566825867, 0.005517521407455206, -0.062418997287750244, -0.00856935977935791, 0.020375367254018784, 0.022024210542440414, 0.07814875990152359, 0.0...
<p>I'm analysing some behavioural data using <code>lme4</code> in <code>R</code>, mostly following <a href="http://www.bodowinter.com/tutorials.html">Bodo Winter's excellent tutorials</a>, but I don't understand if I'm handling interactions properly. Worse, no-one else involved in this research uses mixed models, so I'...
g25330
[ -0.0037052398547530174, -0.0452246367931366, 0.007269997615367174, -0.042807821184396744, 0.04659685119986534, 0.002875096397474408, 0.09008745849132538, -0.0010361694730818272, -0.01749429479241371, -0.04063534364104271, -0.0008398026111535728, 0.020469864830374718, 0.00908701028674841, 0...
<p>I m doing a quantitative analysis for my dissertation and I m having issues with the interpretation of my results (I have little knowledge of SPSS). I m doing a panel data analysis with multiple regression. What, I want to understand is when I should keep or remove a control variable? My R2 and adjusted R2 are opt...
g66350
[ 0.020915333181619644, -0.009011473506689072, -0.01262878067791462, 0.009815572760999203, 0.00793599896132946, 0.014190521091222763, 0.019499661400914192, -0.0038314738776534796, -0.03562653437256813, -0.04032563045620918, -0.016533473506569862, 0.006838299799710512, 0.027065057307481766, 0...
<p>There are more phenomena to which experimental design may be applied than there are alternative valid design strategies. This should be true, though there are many ways to properly design an experiment.</p> <p>What are the best "problems" that truly demonstrate the value and nuance for the different types of optim...
g66351
[ 0.013812318444252014, 0.0402832068502903, 0.00939486175775528, -0.02406511828303337, 0.050605881959199905, -0.0250763650983572, -0.006633475422859192, 0.042582228779792786, -0.006454857531934977, -0.005013388115912676, 0.032549116760492325, -0.04344635456800461, 0.015111279673874378, 0.065...
<p>I have a homework question in which data is taken from three months of hospital admission data. It is then split into six 4-hour groups (0000–400, 0400–0800, etc.). The data are given with just the hour group and one column containing a number of admits. We are to draw a conclusion about how nurses should be schedul...
g66352
[ -0.006784441415220499, 0.004080692771822214, -0.01511614490300417, -0.057751867920160294, -0.03859614580869675, 0.029389843344688416, 0.012946441769599915, -0.015775922685861588, -0.07826318591833115, 0.010862254537642002, 0.015920326113700867, 0.013913197442889214, 0.0744004175066948, 0.0...
<p>Multilevel factor analysis seems to be the technical term for factor analysis with repeated measures, judging from <a href="http://www.ncbi.nlm.nih.gov/pubmed/15799887" rel="nofollow">this abstract</a>. To be precise, following <a href="http://en.wikipedia.org/wiki/Factor_analysis" rel="nofollow">Wikipedia's factor...
g66353
[ -0.01326926052570343, -0.020997686311602592, -0.016592130064964294, -0.02962382510304451, -0.007813782431185246, -0.07014119625091553, -0.0008069728501141071, -0.015856469050049782, -0.02096555009484291, 0.014728927053511143, -0.07310505956411362, -0.01672210916876793, 0.006562313064932823, ...
<p>Let $X_t$ be a weakly stationary process with mean $\mu$ and autocovariance function $\gamma$. </p> <p>How do I show that $$n^{-2}\sum_{i=1}^n \sum_{j=1}^n cov(X_i, X_j)$$ equals $$ n^{-2} \sum_{i-j=-n}^n (n- |i-j|)\gamma(i-j)$$ </p> <p>Thanks</p>
g66354
[ 0.0018110263627022505, -0.01656843163073063, -0.03449280560016632, -0.014619664289057255, 0.03446982800960541, -0.03060919977724552, 0.06272204965353012, -0.04437650367617607, -0.01241242978721857, 0.02716829441487789, -0.058827318251132965, 0.05794705078005791, -0.005529394373297691, 0.03...
<p>I have a model to achieve Bayesian estimates the population size $N$ and probability of detection $\theta$ in a binomial distribution solely based on the observed number of observed objects $y$: $$ p(N,\theta|y)\propto \frac{ \text{Bin}(y|N,\theta)}{N} $$ for $ \left\{N|N\in\mathbb{Z}\land N\ge \max(y)\right\}\ti...
g66355
[ 0.0442410409450531, 0.0010362735483795404, -0.0028006192296743393, -0.04436662793159485, 0.04675137624144554, -0.023425227031111717, 0.05813910439610481, -0.023253506049513817, -0.03577873483300209, -0.049014534801244736, 0.00022050585539545864, 0.047130897641181946, 0.02605474554002285, 0...
<p>I have a set of samples, each depicting a (full) social network of coworkers. The questionnaire, which was used to gather the data, was exactly the same for all the samples; just the respondents and the number of respondents is different.</p> <p>For hypothesis-testing, I use multiple regression (MRQAP). For now, I ...
g66356
[ 0.027781866490840912, -0.06112629920244217, 0.013536596670746803, -0.034950289875268936, 0.015479037538170815, -0.04267457127571106, 0.005050166510045528, 0.00970002543181181, -0.02528706006705761, 0.005371663253754377, -0.004662275314331055, 0.009340766817331314, 0.018807340413331985, 0.0...
<p>I have obtained the following estimations and forecasts in R for a seasonal ARIMA(1, 0, 1)(1, 0, 1)[7]</p> <blockquote> <p>model1</p> </blockquote> <p>Series: PO </p> <p>ARIMA(1,0,1)(1,0,1)[7] with zero mean </p> <p>Coefficients:</p> <pre><code> ar1 ma1 sar1 sma1 0.9895 -0.8241 0....
g23326
[ -0.01504986546933651, -0.06685149669647217, 0.01044379360973835, 0.028519783169031143, 0.002423960482701659, -0.018405364826321602, 0.06309812515974045, 0.016071533784270287, -0.01349770650267601, 0.018968921154737473, -0.0007239377591758966, 0.0979500263929367, 0.06582023203372955, 0.0035...
<p>I have 2 groups (biomaker high vs. low) and I measured quality of life (QoL) score (continuous variable) on 2 time-points. I want to run interaction statistics (group*time) to assess the effect of interaction on QoL score. My question is, can I use Mixed ANOVA on SPSS for this purpose? I have done it and it looks fi...
g66357
[ -0.017822593450546265, -0.039192333817481995, 0.007137717679142952, -0.006156601943075657, -0.00713483989238739, -0.005155543331056833, 0.043428294360637665, -0.001985300099477172, 0.00023015002079773694, 0.006153095979243517, 0.003959027584642172, 0.01823846809566021, -0.0015438343398272991...
<p>I am getting below output from <code>coxph</code> function in R.</p> <pre><code>Concordance= 0.581 (se = 0.024 ) Rsquare= 0.06 (max possible= 0.995 ) Likelihood ratio test= 11.52 on 3 df, p=0.009216 </code></pre> <p>Can somebody explain what do <code>11.52</code> and <code>0.009216</code> mean in this output...
g66358
[ 0.03302838280797005, -0.0752657949924469, -0.0008569802739657462, -0.0059228818863630295, 0.04174592345952988, -0.004296384751796722, 0.045713260769844055, 0.06728225946426392, -0.007917327806353569, -0.010497704148292542, -0.02146083675324917, 0.023656092584133148, 0.06496471166610718, -0...
<p>I would like to know how I can determine the appropriate amount of lags in Matlab or another statistical package. I'm getting confused with VAR models and ARMAX models all the time and I'm a little stuck to be honest. Introduction on ADL models at wikipedia: <a href="http://en.wikipedia.org/wiki/Distributed_lag" rel...
g25338
[ 0.037416692823171616, -0.035550981760025024, -0.03701234981417656, -0.030257463455200195, 0.06820859014987946, -0.04619988054037094, -0.003716324456036091, 0.021479269489645958, -0.023886490613222122, 0.0020523567218333483, 0.02189801260828972, 0.031366121023893356, 0.06323978304862976, 0....
<p>Consider the following example. Suppose I want to model <code>x</code> in <code>DF2</code> using everything else. While it makes sense to do <code>pca</code> pre-processing on variable 1 to 10, I want to keep <code>z</code> the factor variable as is and simply center and scale <code>y</code> and <code>v</code>. My f...
g25339
[ 0.023489108309149742, -0.008495086804032326, -0.005608091596513987, -0.06527351588010788, 0.03056434541940689, -0.08450835198163986, 0.08413652330636978, 0.04795696958899498, -0.03132184222340584, -0.020940229296684265, -0.013459288515150547, 0.03786374628543854, 0.015013757161796093, 0.00...
<p>I asked this previously but I failed to activate my account so I was not able to respond to comments and my question was never answered. Here is attempt 2:</p> <p>I have two rates of compliance for two different populations:</p> <pre><code> Group N Compliant Rate (Compliant/N) A 696 ...
g25340
[ -0.016051506623625755, 0.004611533135175705, -0.004755408503115177, -0.042548369616270065, 0.00722808763384819, -0.03719484806060791, 0.01320519670844078, 0.05605597421526909, -0.030609169974923134, 0.02087070420384407, -0.031020784750580788, 0.013085425831377506, 0.02432326227426529, -0.0...
<p>I wonder if the following model is a linear or nonlinear time series model:</p> <p>$$ X_t = d(t) + \sum_{i=1}^p a_i X_{t-i} + \sum_{i=0}^q b_i e_{t-i} $$</p> <p>when $d(t) = ct$, $d(t) = e^t$, $d(t)=sin(t)$, and $d(t) = t^3$?</p> <p>According to the definitons in Tsay's Financial Time Series, I guess they are lin...
g66359
[ -0.010204804129898548, 0.042654961347579956, 0.0075526973232626915, -0.01061687059700489, 0.005099692847579718, -0.02395930513739586, 0.02914893813431263, -0.04802757129073143, 0.028679052367806435, 0.0315462201833725, -0.055525507777929306, -0.007487436290830374, 0.04578396677970886, -0.0...
<p>Im trying to make a multiple regresion in which the dependent variable and one of the factors were originally positive variables but were centered and scaled for easire interpretation of effect sizes. The other factors are principal components derived from a PCA procedure based on correlation and thus are also cente...
g66360
[ 0.021805759519338608, -0.03669441118836403, -0.02335263416171074, -0.07794596254825592, -0.03774306923151016, -0.019235646352171898, -0.027249358594417572, 0.013968382030725479, -0.02532416768372059, -0.005881165619939566, 0.03862989321351051, 0.002544830786064267, 0.0030242791399359703, -...
<p>I'm currently testing a (binary) logistic regression model, which seems to have at least some issues with multicollinearity. Now I don't really trust the data anymore and would like to also test it on heteroscedasticity. I found some information on Breusch-Pagan Test on the internet, but I could not find an answer t...
g66361
[ -0.025417625904083252, -0.031018773093819618, 0.03132442757487297, -0.035386525094509125, -0.0091122230514884, -0.0428951121866703, -0.04019185155630112, -0.014334067702293396, -0.018605686724185944, -0.0351513996720314, 0.021114658564329147, 0.019916368648409843, 0.04674502834677696, 0.04...
<p>I'm currently working with the method proposed by Koenker (2004) and Lamarche(2010) on fixed effects for quantile regression, for this I'm using the RQPD code in R. I would like to get the predicted values for each firm after running the RQPD code.</p> <p>The problem is that, after the running the code is only poss...
g66362
[ 0.0026270525995641947, -0.08180411159992218, -0.0069435760378837585, -0.032147061079740524, -0.014935726299881935, -0.010020708665251732, 0.0714840516448021, 0.033811941742897034, -0.05357871204614639, -0.043462738394737244, -0.021420873701572418, 0.05985279008746147, -0.013422450982034206, ...
<p>I'm struggling to understand what $\phi(x_{N+1})$ is in this excerpt of an algorithm (namely Linear Bayesian Regression embedded in other algorithm):</p> <p>$c_i = \gamma_i / \sum^L_{j} \gamma_j$</p> <p>$V_i^{N+1} = ((V_i^N)^{-1}+\beta \phi(x_{N+1})^Tc_i \phi(x_{N+1}))^{-1}$</p> <p>$\theta_i^{N+1} =V_i ^ {N+1} ((...
g66363
[ 0.002944278297945857, 0.010750104673206806, -0.002185302786529064, -0.029830237850546837, 0.012847986072301865, -0.03632327541708946, 0.07444968819618225, 0.023644834756851196, -0.003660131013020873, 0.007475624792277813, -0.05866294726729393, 0.08667267858982086, 0.047308143228292465, 0.0...
<p>This question is concerned with the paper <a href="http://www.jstor.org/stable/2240672" rel="nofollow">Differential Geometry of Curved Exponential Families-Curvatures and Information Loss</a> by Amari. </p> <p>The text goes as follows.</p> <p>Let $S^n=\{p_{\theta}\}$ be an $n$-dimensional manifold of probability d...
g66364
[ 0.048457883298397064, -0.01712319627404213, -0.031123017892241478, -0.037084948271512985, -0.010175016708672047, -0.014353754930198193, 0.08225062489509583, -0.08041553199291229, -0.01597275771200657, 0.016294332221150398, -0.0327221155166626, -0.0015212296275421977, 0.09671307355165482, 0...
<p>It seems like when the assumption of homogeneity of variance is met that the results from a Welch adjusted t-test and a standard t-test are approximately the same. Why not simply always use the Welch adjusted t?</p>
g25345
[ -0.00215054489672184, -0.024080635979771614, 0.0021072574891149998, -0.009457395412027836, 0.015752404928207397, -0.03135964646935463, 0.031595416367053986, 0.03947295621037483, -0.01429275143891573, -0.00001102070564229507, 0.008883095346391201, -0.008967166766524315, -0.02629162184894085, ...
<p>I have been wanting to get a Monte Carlo based power calculation working for Logistic Regression cases for a little bit. I have put together a workflow with some assisstnace and I wanted to ask the community if this solution is on the right track and help to highlight any possible issues. I will list the code and ...
g66365
[ 0.023549459874629974, 0.015209161676466465, 0.004730414133518934, -0.04010717570781708, 0.03853072598576546, -0.07886811345815659, 0.007384303957223892, -0.032881662249565125, -0.10127921402454376, -0.01597604528069496, -0.03480566665530205, 0.021879814565181732, 0.031644973903894424, 0.00...
<p>EDIT:</p> <p>As pointed, there is already a similar question "buried" inside a larger-scope one. I'll reproduce the relevant part here:</p> <blockquote> <p>If I have multiple recordings of the same routes are there any valid techniques to combine them to get closer to the real route?</p> </blockquote> <p>The re...
g49751
[ 0.01390008069574833, -0.005396591499447823, 0.008662141859531403, -0.023053312674164772, -0.012852318584918976, -0.07404418289661407, 0.00017170060891658068, 0.0332576148211956, -0.06558702886104584, -0.014446818269789219, 0.012106673792004585, -0.014424066990613937, 0.06196289882063866, 0...
<p>Let say I have a 2 samples from the same population that is unknown</p> <pre><code>Sample 1: n=100 mean=50 range= 0-100 Sample 2: n=40 mean= 70 range=50-140 </code></pre> <p>How would I combine these two data sets to create a sample that better reflects the population for calculating the probability of events. Wo...
g66366
[ -0.02695964276790619, -0.04740658774971962, -0.007005586754530668, -0.03208920359611511, -0.002917989157140255, 0.040015704929828644, -0.023947181180119514, 0.03915095329284668, -0.03935463726520538, -0.048368941992521286, 0.03156208619475365, 0.022949770092964172, 0.08179043233394623, -0....
<p>Hi looking for advice on how to calculate the probability of the following.</p> <p>If someone has a 4% chance of catching a disease (so 4 people out of 100)</p> <p>Then if they caught the disease they have a 15% chance of it not showing up with tests, so 15 out of 100 who have caught the disease won't be diagnosed...
g66367
[ 0.016689039766788483, -0.023201093077659607, 0.005458901636302471, 0.04149725288152695, -0.013708345592021942, 0.02121862769126892, 0.028265556320548058, 0.04460398480296135, 0.01460347231477499, 0.003237714059650898, 0.0334174744784832, 0.04559649899601936, 0.029813852161169052, -0.014824...
<p>I have a large (650K rows * 62 columns) matrix of binary data (0-1 entries only). The matrix is mostly sparse: about 8% is filled. </p> <p>I would like to cluster it into 5 groups - say named from 1 to 5. I have tried hierarchical clustering and it was not able to handle the size. I have also used hamming distance ...
g66368
[ 0.0005391911254264414, 0.04955466836690903, -0.012443099170923233, -0.03380871191620827, -0.003965986426919699, -0.05229317396879196, 0.01435521524399519, 0.014830457046627998, -0.02561415359377861, 0.017400015145540237, 0.004876129329204559, 0.011396737769246101, 0.026228422299027443, -0....
<p>I am doing a project to estimate students' final graduation GPAs based on several variables. I have students' first year GPAs, high school GPAs, their race, where they come from, and their ACT score, and so on. </p> <p>I have two questions:</p> <ol> <li><p>How to convert race into numbers, I know I can just assign...
g66369
[ 0.010642869397997856, -0.047628652304410934, -0.005915828049182892, -0.06490612775087357, 0.06684087216854095, 0.0168234184384346, 0.015208887867629528, 0.0794089064002037, -0.0765579417347908, 0.08642468601465225, 0.03668055683374405, 0.02241220697760582, 0.047719571739435196, 0.048152126...
<p>Not sure if dealing with repeated measures analysis...? Measuring X at 3 seasons (summer, winter, spring/fall) during a year – might be high summer/low winter, high winter/low summer, consistently high, consistently low, etc. Y (health outcome) measured at same 3 times. Time between measures not fully equal between ...
g66370
[ -0.015662655234336853, -0.038226526230573654, 0.008760119788348675, 0.05110304430127144, -0.027571098878979683, 0.0008487909217365086, 0.052003756165504456, -0.018030432984232903, 0.034848421812057495, -0.02178877219557762, -0.024121996015310287, 0.038317516446113586, 0.0066612642258405685, ...
<p>I'm expanding a question I posed earlier because I think it was lacking detail. </p> <p>I'm attempting to forecast daily demand for a restaurant that sells take away food, primarily to office workers on their lunch breaks. They are located in the downtown core of a major city.</p> <p>They are only open on workdays...
g66371
[ -0.030239935964345932, -0.04344905540347099, -0.0046888068318367004, -0.05697710067033768, -0.0481196753680706, -0.011228993535041809, 0.07660900801420212, 0.01052834466099739, 0.017010675743222237, -0.023996245115995407, 0.010891355574131012, 0.04432664066553116, 0.07376690208911896, 0.01...
<p>Suppose that you are have a response variable $Y$ and explanatory variables $X_1$, $X_2$ and $X_3$. If we want to use a quadratic transformation for $X_1$, would we still include $X_1$? In other words, would we have:</p> <p>$$E[Y|X] = \beta_0+\beta_{1}X_{1}^{2} + \beta_{2}X_{2} + \beta_{3}X_{3}$$ or $$E[Y|X] = \bet...
g66372
[ 0.007047328166663647, 0.018991578370332718, -0.017485609278082848, -0.02427150122821331, 0.039644043892621994, -0.05285037308931351, -0.004844254814088345, -0.040432047098875046, 0.017229102551937103, 0.012503438629209995, -0.03812578693032265, 0.04415605217218399, 0.014708655886352062, -0...
<p>How do I calculate the constant coefficient in logistic regression manually, i.e without having to use a calculator?</p> <p>My model is</p> <p>$g(Y) = X \beta + \alpha$</p> <p>is it possible to calculate just the constant parameter $\alpha$ without performing the full regression fit?</p>
g66373
[ 0.013512554578483105, -0.032437317073345184, 0.02029706910252571, -0.02362258918583393, 0.021754933521151543, -0.02791127748787403, 0.05810440704226494, 0.03637933358550072, -0.08150135725736618, 0.015995576977729797, -0.04189479351043701, 0.02840515412390232, 0.005983500275760889, 0.03520...
<p>I'm working on a problem, I was wondering if there are any methods available to do the following.</p> <p>I have a data set with information on people (continuous and categorical data). I have 3 categories to assign to these people {A, B, C}, and I want to try and develop some rules of how to assign each person a ca...
g25354
[ 0.01722562313079834, -0.009969830513000488, -0.01122700609266758, -0.061879340559244156, -0.008058365434408188, -0.01999434269964695, -0.0037717220839112997, 0.027687080204486847, -0.08137379586696625, -0.0192117877304554, 0.028610436245799065, -0.005149531178176403, 0.07293151319026947, 0...
<p>When using the sign test, we assume, that:</p> <p>$\textrm{test statistic} \sim Bi(n_+ + n_-, 0.5)$</p> <p>ie. that the probablity of $+$ or $-$ to occur is $0.5$. But how about the case of values being the same (resulting in $0$). The probablity of $0$s increases when dealing with ordinal variables.</p> <p>How c...
g66374
[ -0.0024511830415576696, 0.006739906035363674, 0.006275946274399757, -0.02245434746146202, 0.019142374396324158, -0.04677938297390938, 0.049307823181152344, -0.003621660405769944, -0.01867726258933544, -0.0551806278526783, -0.040886081755161285, 0.06977230310440063, 0.018701111897826195, 0....
<p>I am regressing monthly data that I know has significant seasonality. I have about 50 monthly observations. I was thinking of using 12 variables and for each row of my data turn on one variable depending on the month. I was then going to see what monthly variables were significant and then rerun for the these possib...
g66375
[ -0.017282379791140556, -0.025104230269789696, -0.016865383833646774, -0.026031678542494774, -0.03373460844159126, -0.05884452536702156, 0.036092374473810196, 0.001882256125099957, -0.021637141704559326, -0.06012497469782829, 0.04774966090917587, 0.07167350500822067, 0.06946711242198944, 0....
<p>I am trying to better understand the conditions under which the application of continuity correction is appropriate for the normal approximation to the binomial distribution. </p> <p>Everything I have found says "this is something you should do" or gives an intuitive explanation, but I would like to see a formal pr...
g66376
[ 0.08986462652683258, -0.04422095790505409, 0.01483906526118517, -0.008378297090530396, -0.031484827399253845, 0.00014849471335764974, 0.030108138918876648, 0.09307994693517685, -0.032472044229507446, 0.034061647951602936, 0.011938171461224556, -0.000861298874951899, -0.023457810282707214, ...
<p>I need to run multiple regression with 2 IVs and 1 DV and include a control variables. The control variable is "Type of House" and has 4 categories: 1=bungalow, 2=apartment, 3=penthouse and 4=condominium. </p> <p>How do I enter the control variables into the model? Is it just the way it is (i.e., nominal) or do I h...
g66377
[ -0.038121823221445084, 0.0011572266230359674, -0.004210090264678001, -0.019075142219662666, 0.02240549959242344, -0.008664047345519066, -0.006074352655559778, 0.02895832248032093, -0.021185917779803276, -0.004211713094264269, -0.048211488872766495, 0.01383997593075037, 0.008426973596215248, ...
<p>Are studies in epidemiology all observational and not controlled? My impression comes from <a href="http://en.wikipedia.org/wiki/Epidemiology#Types_of_studies" rel="nofollow">Wikipedia</a>, which lists:</p> <ul> <li>Case Series</li> <li>Case Control Studies</li> <li>Cohort Studies</li> <li>Outbreak Investigations</...
g66378
[ 0.020888792350888252, -0.010957363992929459, 0.004911832977086306, -0.0010503557277843356, 0.01262575387954712, 0.00534074055030942, 0.014663667418062687, 0.003536445088684559, 0.1022556945681572, -0.06433644890785217, 0.02722466178238392, -0.049876511096954346, 0.06846890598535538, 0.0183...
<p>In <a href="http://en.wikipedia.org/wiki/Bradford_Hill_criteria" rel="nofollow">Bradford Hill criteria</a> for causality</p> <blockquote> <p>Plausibility: A plausible mechanism between cause and effect is helpful (but Hill noted that knowledge of the mechanism is limited by current knowledge).</p> </blockquote> ...
g66379
[ 0.06769809126853943, 0.016522808000445366, -0.0026798478793352842, -0.0012573163257911801, 0.0641627237200737, 0.022298961877822876, 0.06756515055894852, 0.06974520534276962, 0.038124144077301025, -0.03988239914178848, -0.008430459536612034, 0.0008240753668360412, 0.08731798082590103, 0.04...
<p>I have been attempting to set up a <code>lme</code> and have looked at numerous posts including '<code>R</code>'s <code>lmer</code> cheat-sheet' as well as reading a number of papers and other resources including <code>R</code> help, but I am still a little confused on how to write my model (I thought I had it). I h...
g66380
[ -0.005861151963472366, -0.023596083745360374, -0.0007646834128536284, -0.05235311761498451, 0.03893334046006203, 0.03585243597626686, 0.09759832173585892, -0.0197842326015234, -0.03456250950694084, -0.04553473740816116, -0.023976588621735573, -0.0026746271178126335, 0.05669548735022545, 0....
<p>I've worked the slope all the way down to $\sum [x_i(y_i - \bar{y})] = \hat\beta_1 \sum[x_i(x_i - \bar{x})]$</p> <p>But I can not figure out how to show the steps for:</p> <p>$\sum[x_i(y_i - \bar{y})] = \sum(x_i - \bar{x})(y_i - \bar{y})$</p> <p>and</p> <p>$\hat \beta_1 \sum[x_i(x_i - \bar{x})] = \hat \beta_1 \s...
g45693
[ -0.03159976005554199, 0.03816470876336098, -0.03405675292015076, 0.014521142467856407, 0.056720949709415436, -0.02210094779729843, 0.07238666713237762, -0.015775641426444054, -0.028333930298686028, -0.0042113373056054115, -0.06883566826581955, 0.057958122342824936, 0.02258593589067459, 0.0...
<p>I have something like this:</p> <pre><code>Case I A |-----------------| |------------------|B Case II A |-----------------| |---------------------| B </code></pre> <p>And the following numbers:</p> <pre><code> Total generated by A Total...
g66381
[ 0.0002855307830031961, 0.059325218200683594, 0.014025775715708733, -0.013738241977989674, 0.00667840801179409, 0.016747286543250084, 0.08099000155925751, 0.04491228610277176, 0.000007813108823029324, -0.04753483086824417, -0.01342996209859848, -0.034488506615161896, 0.003613813314586878, 0...
<p>Suppose $x_i$ are drawn <em>i.i.d.</em> from a $p$-variate Gaussian, $\mathcal{N}\left(\mu,\Sigma\right)$. Suppose one observes $x_1,x_2,\ldots,x_n$. One also observes $s_{n+1},s_{n+2},\ldots,s_{n+m},$ where $s_i = \mbox{sign}\left(x_i\right)$ is a $p$-vector consisting of -1 and +1's. (Well, in principle, it could ...
g45695
[ -0.021114755421876907, -0.002867849776521325, -0.01358325406908989, -0.06949379295110703, -0.038953181356191635, -0.029568182304501534, 0.01713949628174305, -0.02172314189374447, -0.02096436731517315, -0.0015990848187357187, 0.004974606912583113, 0.05101415514945984, 0.06736385822296143, 0...
<p>I am new to statistics.</p> <p>After an MCMC sampler warmed up, the posterior is better estimated as the mean of several samples. (e.g. related question: <a href="http://stats.stackexchange.com//questions/56077">http://stats.stackexchange.com//questions/56077</a>)</p> <p>However, in my MCMC sampler, after it reach...
g25361
[ 0.00931027065962553, -0.0315207913517952, -0.014588935300707817, -0.09408532083034515, -0.03654587268829346, -0.03825649246573448, -0.0005671395920217037, -0.015899736434221268, -0.04313026741147041, 0.005815199110656977, -0.042066577821969986, 0.01972566731274128, 0.00004960084334015846, ...
<p>My name is Abhi and I am trying to teach myself regression by solving some practice problems available on the internet. I am using RStudio as my development environment.</p> <p><strong><em>Problem Statement</em></strong> <br> Given the age, sex, class(first,second,third), ticket_id for each passenger can you predic...
g66382
[ -0.013767188414931297, -0.07959846407175064, -0.006714557763189077, -0.0052329543977975845, 0.02870984748005867, 0.04129253700375557, 0.08260013163089752, 0.04557497799396515, -0.05672033876180649, -0.025461526587605476, -0.03681306168437004, 0.009590702131390572, 0.07276309281587601, -0.0...
<p>I am interested in quantifying the similarity between 2 time-series. Can I simply sum the squared values of their differences, ie compare the sum of square residuals? </p> <p>More specifically, I have some observed data that can be represented as a time series. I am able to simulated this data and would like to fin...
g66383
[ 0.007100917864590883, -0.03296841308474541, -0.017294304445385933, -0.03152421489357948, -0.018790924921631813, -0.029283566400408745, -0.017557742074131966, -0.038276273757219315, -0.04118354618549347, 0.034687552601099014, 0.008795496076345444, 0.030933741480112076, 0.0059957318007946014, ...
<p>I am asking myself how cointegration and causality are related in a VAR/VECM model.</p> <p>Suppose you have two $I(1)$ variables in your 2 dim VAR process which are cointegrated, so there is one cointegration relationship. In my opinion this should imply that the two variables are granger causal to each other?!</p...
g66384
[ 0.10046270489692688, -0.08928646147251129, 0.0071136304177343845, -0.010790937580168247, 0.07592174410820007, -0.015855856239795685, 0.06257792562246323, 0.04456087574362755, -0.02724255993962288, 0.03361242637038231, -0.060212552547454834, 0.008288946002721786, 0.010991965420544147, -0.00...
<p>I'm trying to use R's <a href="http://cran.r-project.org/web/packages/neuralnet/index.html" rel="nofollow"><code>neuralnet</code></a> package (documentation <a href="http://cran.r-project.org/web/packages/neuralnet/neuralnet.pdf" rel="nofollow">here</a>) for prediction.</p> <p>Here what I'm trying to do:</p> <pre>...
g66385
[ -0.006602348294109106, 0.015830419957637787, -0.017411261796951294, 0.0009045782499015331, 0.03505342826247215, -0.05421029403805733, 0.07312511652708054, 0.04828241840004921, -0.07851041853427887, 0.0035248498897999525, -0.033191390335559845, 0.029481301084160805, 0.038520801812410355, 0....
<p>With respect to the change point detection for data stream, there is a concept of "average run length", which is discussed in the <a href="http://cran.r-project.org/web/packages/cpm/vignettes/cpm.pdf" rel="nofollow">CPM package manual</a>: </p> <p><img src="http://i.stack.imgur.com/056Cl.png" alt="enter image descr...
g66386
[ 0.012104924768209457, -0.02221553958952427, -0.03961382061243057, -0.024341031908988953, 0.028765778988599777, -0.06118789687752724, 0.058256130665540695, 0.02139488235116005, -0.10157684981822968, -0.02016499638557434, 0.03015926666557789, 0.047675929963588715, 0.044642653316259384, 0.087...
<p>I am learning elementary statistics.</p> <p>I found an exercise, which asks to compute the desired sample size for some interval for standard error.</p> <p>The solution, in class slides, first assumes the sample size to be computed is big enough to be approximated by a normal distribution (central limit theorem), ...
g66387
[ 0.012657695449888706, 0.015328455716371536, 0.007272630929946899, -0.0461980439722538, -0.025600310415029526, -0.0028322115540504456, 0.009152577258646488, 0.01906214840710163, -0.05132395029067993, -0.026322292163968086, 0.024563001468777657, 0.026024727150797844, 0.007303754799067974, 0....
<p>I wonder how can I test if a data sequence is really random?</p> <p>Of course I can randomly cut it into equal pieces, and check if the correlation coefficient between different pieces on average is zero.</p> <p>But is that sufficient? Or if that is the best way to do it?</p> <p>Thank you</p>
g49380
[ -0.011840135790407658, 0.0033212981652468443, 0.007792899385094643, -0.055669136345386505, 0.0024219646584242582, -0.025352582335472107, 0.01896250806748867, 0.028380153700709343, -0.0004646906163543463, -0.007738546933978796, -0.009083486162126064, -0.012701154686510563, -0.0125710498541593...