question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>Let S and C denote a Sunny day and a Cloudy day, respectively. Suppose that the weather on the given day depends on the past weather only through the weather on the two immediately preceding days according to the following conditional probabilities: The probability that a day is sunny given that the immediately prec...
g59563
[ 0.028827421367168427, -0.0257937703281641, 0.03679606318473816, -0.04198656976222992, -0.01971023716032505, 0.059537988156080246, 0.05867376551032066, -0.04198746755719185, -0.03526926785707474, -0.033240534365177155, -0.014374936930835247, 0.035560473799705505, 0.024069538339972496, 0.011...
<p>So, let's suppose that I have a set of 20 features - some of them are continous and some of them are binary.</p> <p>Is there an algorithm/method/solution to create more features ( combine/transform ) those features ( for example by using 2 of them to create another feature )?</p> <p>I want to do this to give a lin...
g59564
[ 0.0029601643327623606, 0.028759563341736794, 0.0066572679206728935, -0.025185195729136467, 0.0008203677134588361, -0.04316021502017975, -0.032452262938022614, 0.015987446531653404, -0.10534267127513885, -0.038561005145311356, -0.004012218210846186, 0.022801415994763374, 0.06978240609169006, ...
<p>Consider the following sequential, adaptive data generating process for $Y_1$, $Y_2$, $Y_3$. (By sequential I mean that we generate $Y_1$, $Y_2$, $Y_3$ in sequence and by adaptive I mean that $Y_3$ is generated depending on the observed values of $Y_1$ and $Y_2$.):</p> <p>$Y_1 = X_1\ \beta + \epsilon_1$</p> <p>$Y...
g27693
[ 0.027546852827072144, -0.0543721579015255, 0.00235067680478096, -0.02438274212181568, -0.005416238214820623, 0.004741119220852852, 0.035373393446207047, 0.007679552771151066, -0.07714014500379562, 0.008351177908480167, -0.040016405284404755, 0.03170030564069748, -0.018444214016199112, 0.02...
<p>I'm trying to reduce noise (improve separability) among groups in a data set with 26 numerical variables and 10.000 samples. Each sample is a chemical profile, with each variable indicating the quantity of some chemical constituent. Most of the variables are far from normal. </p> <p>My question is: how can I test w...
g59565
[ -0.009694655425846577, -0.05740271881222725, 0.009449532255530357, -0.07473451644182205, 0.0060253022238612175, -0.09403851628303528, -0.012242947705090046, 0.00017039812519215047, -0.05744090676307678, 0.01286123413592577, 0.008595060557126999, 0.00003139560067211278, 0.019902566447854042, ...
<p>How can I use "partial pooling" to shrink cells with a small sample size towards the mean in a contingency table? I am interested in the proportions within each cell with a positive response.</p> <p>To clarify, I am tabulating various customer demographics survey across a range of stores. I would consider a standar...
g59566
[ 0.06287162750959396, 0.0015715212794020772, -0.007478652987629175, -0.04556478559970856, -0.008393820375204086, -0.009004241786897182, 0.029695050790905952, -0.008977260440587997, -0.08098460733890533, -0.0250095147639513, 0.01580147258937359, 0.03567243739962578, 0.03998829424381256, 0.03...
<p>Thanks everyone for the advice of my earlier question. May I once again get some guidance on the following?</p> <p>If C = { purchase by cash }, and U = { transaction amount > $200 }</p> <p>So if a customer purchases a new shirt that costs $80, and I need to find the probability of him paying by cash, will it be ri...
g59567
[ 0.056079089641571045, 0.03999641165137291, 0.0004795846180059016, -0.00821767095476389, 0.002758134389296174, -0.046859629452228546, 0.07450589537620544, 0.008142453618347645, -0.0022349325008690357, 0.02987915836274624, -0.01644807495176792, -0.013473130762577057, 0.01933695748448372, -0....
<p>I am building a logistic multiple regression with 5 potential variables candidates. I read <a href="http://stats.stackexchange.com/questions/21265/choosing-variables-to-include-in-a-multiple-linear-regression-model">this post</a> and fit all 2^5 = 32 possible combinations of explanatory variables and chose the best...
g15149
[ 0.046940483152866364, 0.0033939809072762728, 0.021937312558293343, 0.025327760726213455, 0.014876166358590126, 0.010628776624798775, 0.02159935235977173, 0.017448432743549347, -0.043233975768089294, -0.044698316603899, 0.007394528482109308, -0.02830568142235279, 0.024228041991591454, 0.026...
<p>I'm trying to compute item-item similarity using <a href="http://en.wikipedia.org/wiki/Jaccard_index#Tanimoto_coefficient_.28extended_Jaccard_coefficient.29" rel="nofollow">Jaccard (specifically Tanimoto)</a> on a large list of data in the format</p> <pre><code>(userid, itemid) </code></pre> <p>An item is consider...
g59568
[ -0.004513414576649666, 0.06640821695327759, -0.010771917179226875, -0.036335792392492294, 0.0012760526733472943, -0.04912590608000755, -0.003773096716031432, 0.022799544036388397, -0.0513848215341568, -0.022920947521924973, 0.0015348398592323065, 0.0368063785135746, 0.03228144347667694, 0....
<p>X and Y are not correlated (-.01); however, when I place X in a multiple regression predicting Y, alongside three (A, B, C) other (related) variables, X and two other variables (A, B) are significant predictors of Y. Note that the two other (A, B) variables are significantly correlated with Y outside of the regressi...
g59569
[ 0.00283701135776937, -0.0009430026984773576, 0.014303338713943958, 0.0059586940333247185, 0.05076121538877487, 0.0018720990046858788, 0.023365547880530357, 0.053031813353300095, -0.013943483121693134, -0.040864553302526474, 0.008370768278837204, 0.001633450505323708, 0.007746576797217131, ...
<p>I am trying to set up a generative model where I have two images $x$ and $y$ and it is assumed that $y$ can be generated by applying some unknown transformation to $x$ i.e.</p> <p>$$ y = t(x, w) + e $$</p> <p>i.e. $$ e = y- t(x, w) $$</p> <p>where $t$ is the applied transformation which has parameters $w$ and e i...
g15157
[ -0.01169841643422842, -0.02507246471941471, -0.025269946083426476, -0.03854557126760483, 0.047773025929927826, 0.015760278329253197, 0.023311952129006386, 0.04455651715397835, -0.0509539395570755, 0.01860816963016987, -0.026110947132110596, 0.003877966897562146, 0.0539926216006279, 0.02652...
<p>I'm doing a two-factor within-subject design experiment, and the two factors are all categorical variables. factor one has four categories, while factor two has two categories, and is counterbalanced. this lead to a 2*4=8 conditions. the dependent variable is a continuous variable such as reaction times.</p> <p>my ...
g59570
[ -0.033963900059461594, -0.03762267157435417, -0.00511163892224431, -0.029380830004811287, 0.019493991509079933, -0.03199825808405876, 0.03480152040719986, 0.02968689426779747, -0.05020621418952942, -0.02421567589044571, -0.05959897115826607, 0.016481613740324974, -0.0099639268592, 0.022510...
<p>I want to have R display the data it gives me from the <code>summary()</code> function in a table so I can easily share this. I am currently just doing <code>summary()</code> in the console and then taking a screenshot, but I would rather have this generated as a nice table just like all of my graphs are. Any ideas?...
g59571
[ 0.04065312445163727, 0.035764168947935104, -0.01658773422241211, -0.048111945390701294, -0.04275421425700188, -0.03774245083332062, 0.0055927434004843235, -0.04826437681913376, -0.05270969867706299, -0.054627642035484314, 0.03633937984704971, 0.03088035061955452, 0.027148032560944557, 0.02...
<p>I am having some issues with stochastic gradient descent. Using batch gradient descent where I consider all the training sets I have certain parameter values which I know are correct. </p> <p>My function is convex,globally. </p> <p>Now when I use stochastic gradient descent considering ten samples at a time, the ...
g15160
[ 0.008234533481299877, -0.037299346178770065, 0.02240602858364582, 0.03803544491529465, 0.0463285893201828, 0.018347647041082382, 0.0066971429623663425, 0.03708270192146301, -0.05826801434159279, 0.04864787682890892, -0.03606361523270607, -0.004722184967249632, -0.0003026264312211424, 0.081...
<p>I'm trying to fit a logistic regression where there is a huge difference in the number of data points in either group (70 Vs 10,000). A statistician friend of mine has told me that this is a known problem with logistic regression and that for those kinds of numbers it overfits the data and basically doesn't work. Wh...
g59572
[ 0.03290629759430885, 0.02379709482192993, 0.011944678612053394, -0.05851325765252113, 0.019120125100016594, -0.03789743781089783, -0.003740990534424782, 0.020480498671531677, -0.060372743755578995, -0.04467194527387619, 0.03658253699541092, -0.016081999987363815, 0.026162344962358475, 0.00...
<p>I currently have a setup, for which I want do do an ANOVA in spss. In my model I need to include four factors (I'll call them <code>factor1</code> to <code>factor4</code>) each with two possible states (<code>true</code> and <code>false</code>). However not all combinations are possible. To be more precise, <code>fa...
g59573
[ -0.03970780968666077, -0.02214643359184265, -0.008611072786152363, 0.01383907813578844, 0.011325300671160221, -0.01912580616772175, -0.02674931474030018, 0.02103385515511036, -0.009618603624403477, -0.006208375096321106, -0.06735911220312119, -0.025188928470015526, 0.002235027961432934, 0....
<p>As we all know , the GLM has the structure: $G(EY)=X^{T}\beta$, in which $G(.)$ is a known link function. What confuse me is that some people say that it's a semiparametric model. But in my opinion, it's a parametric model, because there is no nonparametric part and all we don't know in the previuos structure is $\...
g59574
[ 0.03302788361907005, 0.007424362003803253, 0.009627258405089378, -0.010240971110761166, 0.058230750262737274, -0.02142735756933689, 0.049774277955293655, -0.023902254179120064, -0.03542255982756615, -0.03632263094186783, -0.00806853175163269, -0.010579020716249943, -0.020073177292943, -0.0...
<p>In a previous post I’ve wondered how to <a href="http://stats.stackexchange.com/questions/22494/is-using-a-questionnaire-score-euroqols-eq-5d-with-a-bimodal-distribution-as">deal with EQ-5D scores</a>. Recently I stumbled upon logistic quantile regression suggested by <a href="http://www.ncbi.nlm.nih.gov.proxy.kib.k...
g15163
[ 0.0013245163718238473, -0.008185659535229206, 0.015581680461764336, -0.08890187740325928, 0.020829953253269196, -0.05821957439184189, 0.029408780857920647, -0.07698971778154373, -0.055305738002061844, -0.047993943095207214, -0.017473993822932243, 0.03655488044023514, 0.06725089251995087, 0...
<p>Below is a print screen of a summary(lm(..)).</p> <p>I called the response variable <code>response</code> explained by a continuous variable <code>X</code> and a factor <code>Y</code>.</p> <p><img src="http://i.stack.imgur.com/mOEAG.png" alt="enter image description here"></p> <p>I'm trying to understand (not to ...
g49310
[ 0.015096444636583328, -0.023530131205916405, -0.045386239886283875, -0.0492747463285923, 0.02435365878045559, -0.026194045320153236, 0.048931971192359924, 0.01994534581899643, -0.02854604460299015, -0.034046631306409836, -0.03368977829813957, 0.07553939521312714, 0.07546792179346085, -0.01...
<p>I'd like your opinion on a very strange behavior that I recently encountered running glmer(). The problem is that when I make the dependent variable into a logical vector, glmer behaves weirdly. My dependent variable is Accuracy, and it is coded in terms of 1 (accurate response) and 0 (wrong response). What puzzles ...
g59575
[ -0.0016283249715343118, -0.04853438958525658, 0.004724356345832348, -0.042281437665224075, 0.03208339214324951, -0.009342603385448456, 0.05599483847618103, 0.031173259019851685, -0.0710117295384407, -0.024061013013124466, -0.03517330065369606, 0.038145262748003006, 0.004910939838737249, -0...
<p>I have this partition function</p> <p><img src="http://i.stack.imgur.com/ve5sd.png" alt="enter image description here"></p> <p>Now if I take the derivative of log(Z(x)) wrt $\lambda_k$</p> <p>the result is </p> <p><img src="http://i.stack.imgur.com/6Qikg.png" alt="enter image description here"></p> <p>I didn't ...
g59576
[ 0.038538429886102676, -0.03319813311100006, -0.014514320529997349, -0.0558355413377285, 0.04072042182087898, -0.07556533068418503, 0.013415019027888775, 0.034592170268297195, -0.036432117223739624, -0.06004006788134575, -0.07873925566673279, 0.0007002052734605968, 0.0770101547241211, -0.01...
<p>I am working with some two-regime autoregressive models first introduced by Hamilton in 1989. The specific models is of no great concern to my question, but some variables within my autoregressive models are latent binary variables - non-observable binary variables, that is. I have a dataset and use MCMC to find po...
g59577
[ 0.015023121610283852, -0.08232595771551132, 0.011717398650944233, -0.07105109840631485, 0.0003084698400925845, -0.00885057169944048, 0.026009324938058853, 0.013670910149812698, -0.02988310158252716, -0.026838751509785652, 0.014296719804406166, 0.05391259863972664, 0.01805919036269188, -0.0...
<p>Suppose we consider all the people in the planet. We are interested in randomly selecting 10 people who have heart disease. Is it better to repeatedly sample 10 people and then choose the one selection in which all 10 people have heart disease? Or is it better to only look at the people who have heart disease and sa...
g15167
[ -0.006737103685736656, 0.03080245852470398, 0.030554963275790215, -0.011455649510025978, 0.013773365877568722, -0.023498211055994034, 0.016963930800557137, -0.009097671136260033, 0.032689932733774185, 0.0022831386886537075, 0.052406199276447296, 0.03522595763206482, -0.0033975483383983374, ...
<p>I have different functions, that measure characteristics like completeness or reputation. I try to find out on what scale types they are (nominal, ordinal, interval, ratio or absolute).</p> <p>Most of the functions map to values between $0.0$ and $1.0$. I would assume that they are on a ratio scale. A ratio scale i...
g59578
[ 0.01995374634861946, 0.0010128762805834413, -0.02885163202881813, -0.06442095339298248, 0.047532547265291214, -0.019319893792271614, -0.02446923218667507, -0.08520632237195969, -0.013357304967939854, 0.00023171653447207063, -0.013049171306192875, 0.019804568961262703, -0.0030769763980060816,...
<p>Is it sound/allowed to use entropy as a measure of (non-) uniformity of a data stream? </p> <p>E.g. I calculate the Shannon entropy with the standard formula based on various measures in the data stream. The measures are count values whose probabilities sum up to 1. I do the calculation continuously every 1 sec, so...
g59579
[ -0.04420563951134682, 0.0033892723731696606, -0.021526401862502098, -0.05079728737473488, -0.03850090503692627, -0.040501903742551804, 0.007082714699208736, 0.027419457212090492, -0.06991451233625412, -0.0062516783364117146, -0.005070367828011513, 0.03497347980737686, 0.01978500932455063, ...
<p>I want to generate 1000 random numbers with Gumbel distribution (extreme value distribution type 1) with known parameters $m$ and $a$. Then I want to estimate the parameters of the distribution for these 1000 numbers using probability-weighted moments estimation (PWM) and maximum likelihood estimation (MLE) to compa...
g59580
[ 0.00004428858665050939, -0.05014543607831001, -0.007815558463335037, -0.03349819406867027, -0.025974158197641373, -0.009478475898504257, -0.012516618706285954, 0.05306360125541687, -0.05347462370991707, 0.008167287334799767, -0.043144356459379196, -0.044461436569690704, 0.019208218902349472,...
<p>I have the following problem: I have 2 urns, one which contains which contains 20% red balls and another which contains 80% red balls. Each time I select (with replacement) a ball, I am blind and have an equal chance of selecting from each urn.</p> <p><strong>What is the probability of selecting a red ball?</strong...
g802
[ -0.007051643915474415, 0.033101242035627365, 0.014307539910078049, -0.04582175239920616, 0.0324125699698925, -0.016990361735224724, 0.018270255997776985, 0.021306104958057404, 0.05251516029238701, 0.013354047201573849, -0.038812305778265, 0.01183703076094389, 0.03988286107778549, -0.047921...
<p>A local linear regresson provides at each point $x_i $ an estimate of the intercept and slope of the values of $y$ centered at that point. Consider the curve formed by the sequence of intercepts. What is the 'best' estimate of its slope? Is it the estimate of the slope in the local linear regresson or is it derived ...
g15170
[ 0.0935211256146431, -0.06844512373209, -0.004482204094529152, -0.009272545576095581, 0.04009253904223442, -0.06478220224380493, 0.02355094999074936, 0.0489058643579483, -0.039830513298511505, -0.054283954203128815, -0.023632055148482323, 0.034966856241226196, 0.043018076568841934, -0.01499...
<p>Given the following experimental setup:</p> <p>Multiple samples are taken from a subject and each sample is treated multiple ways (including a control treatment). What is mainly interesting is the difference between the control and each treatment.</p> <p>I can think of two simple models for this data. With sample ...
g59581
[ 0.02050335332751274, -0.01860165409743786, -0.014809105545282364, -0.012005073018372059, 0.06655245274305344, -0.02237585373222828, 0.036141954362392426, 0.004479283466935158, -0.04362315312027931, -0.00800299271941185, 0.008839963003993034, 0.023095538839697838, 0.02261333540081978, -0.00...
<p>I <a href="http://stats.stackexchange.com/q/14088/442">recently realized</a> that a mixed-model with only subject as a random factor and the other factors as fixed factors is equivalent to an ANOVA when setting the correlational structure of the mixed model to compound symmetry.</p> <p><strong>Therefore I would lik...
g394
[ 0.002776067703962326, -0.037961043417453766, 0.007794488221406937, -0.024636784568428993, 0.022286856546998024, 0.04929569736123085, 0.0720224529504776, -0.007082962431013584, 0.032877080142498016, -0.04155490919947624, 0.03190994635224342, -0.01090951357036829, 0.02406877465546131, -0.041...
<p><strong>Background</strong>:</p> <p>A group at work is sampling 1,000 customers to contact and from that point, determining if the effort is worthwhile or not. I wanted to see if this (pretty much) arbitrary sample size value was at all "good enough". </p> <p>If we assume that the true proportion of successes in a...
g15177
[ -0.02700052410364151, 0.014437036588788033, -0.0181898046284914, -0.012974700890481472, -0.0020026741549372673, -0.04008006677031517, 0.03275180980563164, -0.013067779131233692, -0.030653517693281174, 0.007080919574946165, 0.03651616722345352, 0.02800012193620205, -0.001938310801051557, 0....
<p>I'm checking the conversion rates on some segments of a web application as to figure out which types of customers we should invest in paid acquisition (theory is that these segments see more value in the product and, as such, are willing to pay).</p> <p>For example, on one segment there are 336 users of which 88 co...
g44515
[ 0.0024677678011357784, 0.04327786713838577, -0.009037913754582405, 0.005163081921637058, 0.022834742441773415, -0.040540166199207306, 0.012005683034658432, 0.028044482693076134, 0.013268829323351383, -0.011559541337192059, 0.030177615582942963, 0.015658041462302208, 0.05680137872695923, -0...
<p>I am trying to model the rating of a product (that takes integer values between 0 and 10) using some other predictors. Can I use negative binomial regression? The data is over-dispersed toward higher ratings but I am not sure whether negbin works for bounded counts. </p>
g59582
[ -0.002949877642095089, 0.02959153614938259, 0.021244874224066734, 0.014694059267640114, -0.0048353527672588825, -0.01404374185949564, -0.02338782697916031, -0.0026942158583551645, -0.04596911743283272, -0.03189210221171379, 0.01019635796546936, 0.021050984039902687, 0.024568142369389534, -...
<p>I am working on some medical research. Given 3 values (BMI, age, gender) I have a list of baseline risks for the probability of an adverse event occurring in the next 10 years for an individual with a given BMI, age, gender.</p> <p>I also have a list of additional risk factors, given as Hazard Ratios. How can I pro...
g59583
[ 0.045342158526182175, -0.010396174155175686, -0.0006106951623223722, -0.03270119056105614, -0.02456022799015045, -0.02830636128783226, -0.015159707516431808, 0.017891857773065567, -0.019260110333561897, 0.02336626499891281, 0.003990685101598501, 0.0403786301612854, 0.08781013637781143, -0....
<p>I'm coming from this question <a href="http://stats.stackexchange.com/questions/77888/similarity-between-two-sets-of-random-values">Similarity between two sets of random values</a> (which still stands BTW) where @whuber suggested in the comments that I use a Q-Q plot to assess the similarity of two discrete distribu...
g15182
[ 0.004412159789353609, -0.0066452836617827415, 0.005904227029532194, -0.08531471341848373, -0.05430886894464493, -0.013646847568452358, 0.002961567137390375, -0.028981905430555344, -0.052925895899534225, -0.07561555504798889, 0.01422207336872816, 0.032501865178346634, 0.06394800543785095, -...
<p>Suppose I have positive and negative samples, and I care a lot more about precision than recall. Furthermore, I assume that there are some cases among the positive samples which are "easier" to separate than others, but I have no direct way of identifying these. By easier, I mean it is easy to pick for a given class...
g59584
[ 0.04240699112415314, -0.03060140274465084, 0.007777115795761347, -0.03206953406333923, -0.023865729570388794, -0.03442341461777687, 0.05058775097131729, -0.0015189535915851593, -0.025803828611969948, 0.0035096127539873123, 0.0037257964722812176, -0.008591587655246258, 0.05355415865778923, ...
<p>I'm a researcher within cardiovascular medicine, currently working on a study in endocrinology (diabetes). I have the following challenge, which I have discussed with several statisticians who all gave me discordant advice and explanations (which is why I'll try the discussion here).</p> <p>The data set consists of...
g59585
[ 0.02643173187971115, -0.003000155556946993, -0.007683675270527601, -0.022875726222991943, -0.016528256237506866, -0.033656828105449677, 0.04249795526266098, -0.008104436099529266, -0.08197243511676788, 0.0016226628795266151, 0.039556343108415604, 0.035115983337163925, 0.010938814841210842, ...
<p>There's a lot about collinearity with respect to continuous predictors but not so much that I can find on categorical predictors. I have data of this type illustrated below. </p> <p>The first factor is a genetic variable (allele count), the second factor is a disease category. Clearly the genes precede the diseas...
g59586
[ 0.0018850836204364896, -0.04441773146390915, -0.0033789505250751972, -0.062374964356422424, -0.03914676606655121, -0.06721121072769165, 0.05329768359661102, 0.02230644039809704, -0.009760648012161255, 0.0034690978936851025, 0.03283729404211044, 0.010748657397925854, 0.06824646890163422, -0...
<p><strong>Note</strong>: This question is a follow-up of <a href="http://stats.stackexchange.com/questions/77211/estimating-population-size-of-a-subgroup-based-on-independent-samples-without-re">Estimating population size of a subgroup based on independent samples without replacement</a></p> <p>Let a bag have 1000 ba...
g15186
[ 0.02314581163227558, -0.025939056649804115, 0.0236143097281456, -0.05328260362148285, -0.044496629387140274, -0.04375067725777626, -0.003966604825109243, 0.004395013675093651, -0.0008108503534458578, 0.005861190613359213, -0.008854929357767105, -0.018626412376761436, 0.04854484274983406, 0...
<p>My contingency table:</p> <pre><code> heterozygous homozygous.minor homozygous.major observed 2 0 3 expected 0 0 5 </code></pre> <p>The expected population is composed of only AA genotype, but in the observed population we observe 2 AB genot...
g15187
[ 0.04187963157892227, -0.004747896920889616, 0.018016351386904716, -0.01997193694114685, -0.013736061751842499, -0.047272149473428726, 0.049639370292425156, 0.056666526943445206, 0.006814289838075638, 0.012043421156704426, -0.027349235489964485, 0.04094134271144867, 0.027240745723247528, -0...
<p>Are there any "good" ways to eliminate the effects of ties in a data set for statistical analysis? For example, in finding the correlation between two series which has lots of ties?</p> <p>I would like to estimate the dependence between two series by a Pearson correlation coefficient and other correlation measures,...
g59587
[ 0.0014866251731291413, 0.017858292907476425, 0.00734573882073164, -0.09976402670145035, -0.010861856862902641, -0.0374743789434433, -0.008807552978396416, -0.015592825599014759, -0.024951335042715073, -0.04291309788823128, 0.01539565622806549, 0.036269694566726685, 0.005925673060119152, 0....
<p>I would like to evaluate <strong>the rarity of each sentence in a document set</strong>. Please let me know the state-of-the-art or a survey paper on this task.</p> <p>I've already checked several papers in <strong>the document summarization problem</strong> (e.g. [1]) which seems to be closely related my task and ...
g13737
[ -0.061058737337589264, 0.02784193493425846, 0.009910025633871555, -0.061204854398965836, -0.05799255892634392, -0.024619754403829575, -0.024196473881602287, 0.08522572368383408, -0.013006633147597313, 0.02530379220843315, 0.04086313024163246, 0.009936491027474403, 0.0036116568371653557, 0....
<p>Following up on this question, <a href="http://stats.stackexchange.com/questions/18058/how-would-you-explain-covariance-to-someone-who-understands-only-the-mean">How would you explain covariance to someone who understands only the mean?</a>, which addresses the issue of explaining covariance to a lay person, brought...
g15191
[ 0.030023926869034767, 0.03254865109920502, -0.009228214621543884, -0.03978869691491127, 0.04833564534783363, 0.048244819045066833, 0.02741198055446148, 0.04025090113282204, 0.012794064357876778, -0.07412367314100266, 0.005753376986831427, 0.027467723935842514, 0.03168359398841858, 0.063381...
<p>I want to find the maximum likelihood estimator of the "rate parameter theta of the Exponential Distribution".</p> <p>So i followed the following commands in <code>R</code>:</p> <pre><code> x=rexp(500,rate=2) f &lt;- function(x,theta){ sum(-dexp(x,rate=theta,log=T)) } optimize(f=f,x=x,interval=c(0,5)) <...
g59588
[ 0.06033840775489807, -0.03791555389761925, 0.008558620698750019, 0.005057771224528551, 0.03863263875246048, -0.06339670717716217, 0.039340924471616745, 0.056954462081193924, -0.0658423900604248, -0.009764081798493862, -0.043570809066295624, -0.0020503702107816935, 0.0709499791264534, 0.028...
<p>I'm curious if there are any neural network packages out there that easily allow one to construct feed forward neural networks with shared weights, but also allow for the training to be done in parallel. <a href="http://torch.ch/" rel="nofollow">Torch7</a> allows for easy construction of shared weights, although the...
g15193
[ 0.041353970766067505, 0.04347408935427666, 0.014976524747908115, -0.04952600225806236, 0.021398475393652916, -0.09253723174333572, 0.013585728593170643, 0.0700349286198616, -0.03929184004664421, -0.035640835762023926, -0.019390424713492393, -0.006066813133656979, 0.018101943656802177, 0.03...
<p>The title says it all, really. I'm aware of the Wishart distribution for symmetric, nonnegative-definite matrix-valued random variables, and am looking for something along these lines, but for sparse symmetric, binary matrix-valued random variables. If necessary, I'm willing to forego the requirement that the matric...
g59589
[ -0.01273963414132595, 0.010275651700794697, -0.0205047857016325, -0.07084626704454422, -0.007034513168036938, -0.06280100345611572, 0.009892875328660011, -0.013270300813019276, 0.012855269014835358, 0.014759047888219357, 0.023560484871268272, 0.04936186224222183, 0.030169345438480377, -0.0...
<p>Suppose we have</p> <p>$$X_1 \sim \textrm{unif}(n,0,1),$$ $$X_2 \sim \textrm{unif}(n,0,1),$$</p> <p>where $\textrm{unif}(n,0,1)$ is uniform random sample of size n, and </p> <p>$$Y=X_1,$$</p> <p>$$Z = 0.4 X_1 + \sqrt{1 - 0.4}X_2.$$</p> <p>Then the correlation between $Y$ and $Z$ is $0.4$.</p> <p>How can I exte...
g44519
[ 0.008433988317847252, -0.003041529329493642, -0.000472889601951465, -0.05059174820780754, 0.00038912243326194584, 0.005427213851362467, -0.026938311755657196, 0.007816510275006294, -0.017326446250081062, 0.006925126537680626, 0.010136211290955544, 0.023683877661824226, -0.07337620854377747, ...
<p>Suppose I have some measurement for each subject at each site. Two variables, subject and site, are of interest in terms of computing intraclass correlation (ICC) values. Typically I would use function <code>lmer</code> from R package <code>lme4</code>, and run</p> <pre><code>lmer(measurement ~ 1 + (1 | subject) + ...
g13764
[ -0.03763214498758316, -0.035214297473430634, -0.013441651128232479, -0.06862879544496536, -0.005988944787532091, 0.03794000297784805, 0.0621335469186306, -0.000027876791136804968, -0.0462484285235405, -0.042264316231012344, -0.036117009818553925, -0.015299408696591854, 0.009273968636989594, ...
<p>I was wondering what relation and differences are between a significance test and a hypothesis test? Are they the same concept, or is the former a special case of the latter, or ...?</p> <p>What does a significance test mean?</p> <p>Thanks and regards!</p>
g49564
[ 0.020862340927124023, -0.010430319234728813, -0.000948849250562489, 0.0014255928108468652, 0.036903511732816696, 0.0009242130909115076, -0.008667455986142159, 0.04910663142800331, 0.05225692316889763, -0.06233857199549675, 0.020795732736587524, 0.02602674625813961, 0.00499396026134491, 0.0...
<p>Let $X_{ij}$ with $1\leq i&lt;j\leq n$ (that are $X_{12},\dots, X_{1n},\dots,X_{(n-1)n}$) be ${n \choose 2}$ identically normal distributed $N(0,\sigma^2)$ such that $ \text{corr}(X_{ij},X_{rs})=\rho $ if $|\{i,j\}\cap\{r,s\}|=1$ and $0$ if $|\{i,j\}\cap\{r,s\}|=0$.</p> <p>I'd like to estimate $\sigma^2$ if in the...
g59590
[ -0.02715892530977726, 0.0016815420240163803, -0.023875487968325615, -0.009622570127248764, -0.03177234157919884, -0.06722423434257507, 0.07500066608190536, -0.018928660079836845, -0.021826298907399178, 0.07010740041732788, -0.04465858265757561, 0.04259004816412926, 0.017044151201844215, 0....
<p>I am writing a program which takes notes from a keyboard as the input, (just numbers, 1 to 88) and decides which notes are played by which hand. There are a lot of variables, for example, the position of the note(the higher it is the more chance it will be played by a right hand and vice versa), the amount of notes ...
g59591
[ 0.045325297862291336, -0.0046096486039459705, -0.003781391540542245, -0.05337441340088844, -0.038567934185266495, -0.027888596057891846, 0.08200830966234207, -0.011205589398741722, -0.061463095247745514, 0.006205263081938028, -0.019869094714522362, 0.03313427045941353, 0.008445949293673038, ...
<p>I have the rank percentages of students in 38 exams as the dependent variable in my study. A rank percentage is calculated by (a student's rank / number of students in an exam). This dependent variable has nearly uniform distribution and I want to estimate the effects of some variables on the dependent variable.</...
g15196
[ 0.010708793066442013, -0.07893509417772293, 0.005822998937219381, -0.0508408397436142, -0.03549163416028023, -0.010473554022610188, 0.01197663601487875, 0.03656607121229172, -0.007190217729657888, 0.006116108037531376, 0.019783439114689827, 0.022952822968363762, -0.004326893016695976, 0.02...
<p>I have this confusion related to PCA. Lets say I have a 100 dimensional data, then the projection into the first principal component is given by the average over all the dimensions.</p> <p>How is it so?</p>
g59592
[ 0.04866298660635948, -0.006408353801816702, 0.023962348699569702, -0.06093273684382439, -0.013169851154088974, -0.008247507736086845, 0.04763239994645119, 0.03437167778611183, -0.06979716569185257, -0.011247173883020878, 0.03954609856009483, 0.030990157276391983, 0.014335750602185726, 0.00...
<p>Consider the following example:</p> <pre><code>t = 1/24:1/24:365; x = cos((2*pi)/12*t)+randn(size(t)); % if you have the signal processing toolbox [Pxx,F] = periodogram(x,rectwin(length(x)),length(x),1); plot(F,10*log10(Pxx)); xlabel('Cycles/hour'); ylabel('dB/(Cycles/hour'); </code></pre> <p>This demonstrates the...
g13778
[ -0.03896602615714073, -0.004992044996470213, -0.004702178295701742, -0.036590803414583206, -0.0180099755525589, -0.08062853664159775, 0.03759682923555374, -0.041027266532182693, -0.045280974358320236, -0.019754009321331978, 0.025067394599318504, 0.07071422040462494, 0.0881723165512085, 0.0...
<p>It is well known that the solution to the optimization problems proposed in Principal Components and Canonical Correlation Analysis are given by the solution to eigenvalue problems and generalized eigenvalue problems respectively. My linear algebra is quite rusty and I wanted to know if anyone could give me a semi-f...
g472
[ 0.028531689196825027, -0.029699956998229027, 0.04675553739070892, -0.03730902075767517, 0.016284361481666565, -0.004849583841860294, 0.10754993557929993, 0.03573154658079147, 0.004951750859618187, 0.02911905013024807, -0.023961955681443214, 0.004314338322728872, 0.019995898008346558, 0.070...
<p>I am working with a set of genes for which I have both methylation values $\beta$ (continuous on unit interval) and gene expression $E$ (non-negative continuous) that I want to test for correlation $\hat\rho(log_2E,\beta)=R$. To filter out only the significant correlations I perform a permutation test where for each...
g59593
[ 0.023946180939674377, -0.04980204626917839, -0.008799494244158268, -0.004389743786305189, -0.009086932986974716, -0.02266114391386509, 0.040571555495262146, 0.06556475907564163, -0.04273476079106331, -0.0174515713006258, -0.004990748595446348, 0.06267671287059784, -0.007341544609516859, -0...
<p>I tried performing the Augmented Dickey-Fuller Test on SP500 data from MASS library and got the following results:</p> <pre><code>adf.test(SP500) Augmented Dickey-Fuller Test data: SP500 Dickey-Fuller = -13.5835, Lag order = 14, p-value = 0.01 alternative hypothesis: stationary </code></pre> <p>The results seem ...
g59594
[ 0.046767670661211014, -0.07550270110368729, -0.0004090500879101455, -0.027215156704187393, 0.022876519709825516, 0.021658161655068398, 0.07258786261081696, 0.00742877135053277, -0.020763445645570755, 0.025565383955836296, -0.006927290931344032, 0.05150870233774185, -0.01696287840604782, 0....
<p>I ran an experiment on my website where I randomly assigned users to either the treatment or control group, and have two questions about how to correctly compute significance of the results.</p> <p>Some context: The outcome variable is the total number of actions they took on my website. I am computing the mean num...
g59595
[ -0.05659128352999687, 0.002084386069327593, -0.020842069759964943, -0.0020999498665332794, 0.03658376261591911, -0.055609848350286484, 0.030970580875873566, 0.0648311972618103, 0.013307416811585426, -0.014383053407073021, -0.00848671980202198, 0.019886532798409462, 0.04783462733030319, 0.0...
<p>I've read through the following posts that answered the question I was going to ask:</p> <p><a href="http://stats.stackexchange.com/questions/59741/use-random-forest-model-to-make-predictions-from-sensor-data">Use Random Forest model to make predictions from sensor data</a></p> <p><a href="http://stats.stackexchan...
g49407
[ -0.003060899442061782, -0.046116117388010025, 0.009249301627278328, -0.04035163298249245, -0.03232065588235855, -0.12506558001041412, -0.01679372414946556, -0.0125247398391366, -0.020661048591136932, -0.04965653270483017, 0.058160752058029175, 0.013445151038467884, 0.09407045692205429, 0.0...
<p>I asked a related question before <a href="http://stats.stackexchange.com/questions/32584/gee-with-exchangeable-working-covariance-vs-assuming-independence-and-using-hu">here</a> on the difference between GEE method with exchangeable varcov structure v. Robust standard errors known as Huber White method in group ran...
g59596
[ 0.016249138861894608, -0.01192601677030325, 0.004502653144299984, -0.03397226706147194, 0.03982854634523392, 0.0021452303044497967, 0.06484892964363098, 0.024909967556595802, -0.010201709344983101, 0.033894650638103485, 0.04713031277060509, 0.011653891764581203, 0.03207226097583771, 0.0362...
<p>I'm a physicist who has some issues in data treatment, so sorry if I get the maths wrong.</p> <p>I have some diffractograms, which are displayed as counts vs. angle. The points have standard deviations estimated from a poisson statistic on the bins (an external program does that).</p> <p>Getting the average of dif...
g59597
[ 0.03355492278933525, -0.04793872311711311, -0.017492691054940224, -0.07190054655075073, 0.030219364911317825, -0.007873313501477242, 0.019449327141046524, 0.0543375201523304, -0.057069048285484314, -0.032938867807388306, 0.022487040609121323, -0.044394250959157944, 0.05703771859407425, 0.0...
<p>I am writing a naive bayes classifier for a text classification problem. I have a bunch of words and an associated label:</p> <pre><code>[short,snippet,text], label1 [slightly,different,snippet,text], label2 ... </code></pre> <p>I am able to train the naive bayes fine. However, when I am classifying unseen data, s...
g59598
[ 0.007415244821459055, -0.03423701226711273, 0.024066254496574402, -0.015417656861245632, -0.004226716235280037, 0.01884075254201889, 0.00766468420624733, 0.05810685455799103, -0.06672003865242004, -0.0625026747584343, -0.013846251182258129, 0.038916125893592834, 0.05973579362034798, 0.0596...
<p>I have two time series of count data which I believe are correlated. Is there an equivalent to <code>cov()</code> that assumes an overdispersed Poisson rather than a normal distribution? If there is a significance test for this (noting that both series increase over time but that doesn't prove correlation), so muc...
g59599
[ 0.024411387741565704, 0.012009726837277412, -0.0070237270556390285, -0.08642732352018356, 0.015712695196270943, 0.02057998813688755, 0.010261466726660728, -0.0545373409986496, -0.005436199251562357, -0.010387805290520191, -0.024506304413080215, 0.011912945657968521, -0.03687342628836632, 0...
<p>I have two sequences of equal length, like <code>[1, 1, 2, 2, 2, 3, 3, 3, 4]</code> and <code>[1, 2, 2, 3, 3, 3, 3, 4, 4]</code>. I want to determine the odds that they were generated by the same random variable, or different ones. What is a good statistical test to do this?</p> <p>The data are not pairwise; nor ar...
g59600
[ 0.026026804000139236, -0.02072470262646675, 0.013116784393787384, -0.04128796607255936, -0.021680505946278572, -0.05245345085859299, 0.014802464284002781, -0.008365675806999207, -0.013551446609199047, 0.005805983208119869, -0.008346131071448326, 0.03337358683347702, -0.013430001214146614, ...
<p>I am teaching a programming course at the university where I am working. I would like to do a statistical test to see if students marks (exam grades) are significantly better compared to the previous semester (e.g., summer semester vs. winter semester).</p> <p>There are three exams each semester, and the grades are...
g59601
[ -0.002418225398287177, -0.05259847640991211, -0.008034962229430676, -0.013688738457858562, -0.036908384412527084, 0.0261414535343647, 0.05154774710536003, 0.0426037460565567, -0.01858680695295334, -0.010573877021670341, 0.06477592885494232, 0.06223702058196068, 0.024537978693842888, 0.0505...
<p><a href="http://stats.stackexchange.com/questions/34414/specifying-the-linear-predictor-survival-function-and-pdf-of-a-log-normal-survi">Related question</a></p> <p>I have a project where, despite being able to implement some parametric models in LIFEREG, it is somewhat more convenient to do it in NLMIXED. Verifyin...
g59602
[ 0.010821335949003696, -0.03829440101981163, -0.02009115368127823, -0.05166764557361603, -0.04347310960292816, -0.02298429049551487, -0.010238343849778175, -0.00461677648127079, -0.08002550899982452, -0.029691094532608986, -0.02011690102517605, -0.0287943035364151, 0.05663800984621048, 0.02...
<p>Is anyone aware of a orthogonal multiple regression library that is implemented in say R, Scipy, Matlab, Octave, etc.? (Or even fortran/C...) If I'm not mistaken, it would not be difficult to write but just wanted to check. </p> <p>Second question: my actual application is for a multivariate regression case where I...
g59603
[ 0.0060816798359155655, -0.0827006995677948, 0.010592418722808361, -0.06353777647018433, 0.02827547676861286, -0.08400769531726837, 0.004221189767122269, 0.0004894231678918004, -0.04192400351166725, 0.00710725225508213, -0.046614404767751694, 0.056492362171411514, 0.011542403139173985, 0.01...
<p>I have some training set data variables $x_1$, $x_2$, $x_3$, $x_4$, and $x_5$ and a response variable $y$. But these are time series data. So the for the same set of values of $x_1$, $x_2$, $x_3$, $x_4$, and $x_5$ the response variable $y$ may be different in different observations. Can anyone please suggest me how...
g59604
[ -0.015228801406919956, -0.03194389492273331, -0.00728576211258769, -0.03369239717721939, 0.02028125524520874, -0.019539950415492058, 0.02081913687288761, -0.04488325119018555, -0.04058833047747612, -0.04057071730494499, 0.003593132831156254, 0.04926121234893799, -0.004201163072139025, 0.00...
<p>I have a survey data containing two samples drawing from two populations (or the same population but at different time series). Based on these two samples, I would like to estimate the total and its confidence intervals for each population. Since my sample distributions are highly skewed and both sample sizes are sm...
g525
[ 0.007905852980911732, -0.0070592546835541725, 0.01103221531957388, -0.021416563540697098, -0.06758684664964676, -0.01853456161916256, 0.014377911575138569, 0.014082564041018486, -0.03110932931303978, 0.004126567859202623, -0.026855602860450745, 0.015990611165761948, 0.03565722703933716, -0...
<p>This was an example done in class, However I was sick</p> <p>An experiment was performed to determine whether the average nicotine content of brand A cigarette exceeds that of brand B cigarette by 0.20 milligram. If 50 cigarettes of brand A had a sample mean of 2.61 milligrams whereas 40 brand B cigarettes had an a...
g15209
[ 0.020513691008090973, -0.03414500877261162, -0.0033644784707576036, -0.027465535327792168, -0.025308148935437202, -0.032654985785484314, 0.0031150730792433023, 0.01106004137545824, -0.009698127396404743, 0.004310958087444305, 0.05074068903923035, 0.012524086982011795, 0.028550809249281883, ...
<p>I am looking for advice and comments that deal with the analysis of ratios and rates. In the field in which I work analysis of ratios in particular is widespread but I have read a few papers that suggest this can be problematic, I am thinking of:</p> <blockquote> <p>Kronmal, Richard A. 1993. Spurious correlation ...
g15210
[ 0.04919886216521263, -0.024050798267126083, -0.0041127391159534454, 0.028969289734959602, -0.006533513311296701, -0.03086809255182743, 0.014635397121310234, -0.0025728740729391575, 0.011516939848661423, 0.03223870322108269, 0.09980960935354233, -0.02369099296629429, 0.0023967719171196222, ...
<p>I have a function that I have added noise to. I want to test a few smoothers, but for each smoother I want to minimise MSE. I know the underlying function, so how can I make R automatically choose the bandwidth that minimises the MSE?</p>
g15211
[ 0.050392184406518936, -0.06938106566667557, 0.008324982598423958, -0.017965974286198616, -0.00041559943929314613, -0.06697086989879608, 0.06483668088912964, 0.025839824229478836, -0.03802405297756195, -0.006600749678909779, -0.03609015792608261, 0.0019257039530202746, 0.026867946609854698, ...
<p>I am working through past examination questions from the Royal Statistical Society and came across this one from 2009 in Module 5 (<a href="http://www.rss.org.uk/uploadedfiles/documentlibrary/625.pdf" rel="nofollow">Question 2(i)</a> and <a href="http://www.rss.org.uk/uploadedfiles/documentlibrary/624.pdf" rel="nofo...
g59605
[ -0.008493663743138313, 0.0020969922188669443, -0.02063223347067833, -0.04233979061245918, 0.02786312624812126, -0.005355872679501772, -0.0014217451680451632, 0.03149201720952988, -0.04731247201561928, 0.01556663028895855, -0.013437565416097641, 0.010406490415334702, -0.0015855273231863976, ...
<p>When I perform k-fold cross validation, the observations are selected randomly into each fold. This works fine for cross-sectional data. However, when I have panel data (and fit with hierarchical model), does it make sense if the training set has observations that happen before those in the test set?</p>
g59606
[ 0.020301518961787224, -0.011265091598033905, 0.032037027180194855, -0.009660574607551098, 0.02735927887260914, 0.01908990554511547, 0.04064824804663658, 0.01740274950861931, -0.04604581743478775, -0.031543828547000885, 0.014002813026309013, 0.013710202649235725, -0.0006026107585057616, -0....
<p>I was wondering if there is any recommendation for a "decent" minimum sample size when estimating the density/distribution/quantiles of a random variable using KDE. Is it always the case that "the more data the better"?</p>
g15213
[ -0.000492159160785377, -0.0356856994330883, -0.0010040999623015523, -0.042182158678770065, -0.08369999378919601, -0.009787509217858315, -0.06949527561664581, -0.058541495352983475, -0.02769072912633419, -0.005986264441162348, 0.10299137979745865, -0.02196088805794716, 0.0531628392636776, 0...
<p>I am not really strong with time series but I have a project I am working on..</p> <p>I have a problem where I am trying to model a time series of the difference in pressure before and after oil has passed through an oil filter. I am trying to see if this oil filter can go longer without being changed. I also hav...
g15214
[ 0.02058403193950653, -0.0780162364244461, 0.015225491486489773, -0.06008252874016762, -0.03940364718437195, -0.0437895730137825, 0.04045907035470009, 0.04217253252863884, -0.07731018215417862, 0.013593851588666439, -0.005706325173377991, -0.0020488493610173464, 0.04114699363708496, -0.0350...
<p>I'm trying to find a reasonable way to measure <strong>retention</strong> of a site (news site). I'm trying to do cohort analysis: I've grouped all visits by year/week, and measured the percent of users that kept coming back in the following weeks.</p> <p><strong>Clarification</strong>: these users are first-time v...
g59607
[ -0.02739974856376648, -0.0012320746900513768, -0.01553590688854456, -0.02848144806921482, 0.021782295778393745, -0.011108504608273506, 0.05093412846326828, -0.03533561900258064, -0.02271825633943081, -0.011593524366617203, -0.0005987289478071034, 0.034179627895355225, 0.06631004065275192, ...
<p>I have a large word-frequency matrix (~6m unique words X ~4k documents) and I'm trying to use truncated singular value decomposition (SVD) to project it onto a matrix with fewer dimensions. I know how to get to $[U_{k}, S_{k}, V_{k}']$, but I don't know what to do then.</p> <p>Each tutorial I find gives me a differ...
g15218
[ 0.020973876118659973, -0.0007529560825787485, 0.006350846495479345, -0.025781387463212013, -0.03633342310786247, -0.02806810662150383, 0.029910393059253693, 0.05171755328774452, -0.02268896996974945, -0.02557487227022648, -0.004944255575537682, -0.002124585909768939, 0.054947901517152786, ...
<p>What are reasons or references for a statement such as "When you have a lot of data the statistical problem you run into is that even a tiny difference will be statistically significant." I see this quite often and I need references as to why this is true. Any help is appreciated.</p>
g15219
[ 0.05600487440824509, 0.06420216709375381, 0.00381616223603487, -0.01725398376584053, 0.007292947731912136, 0.018626656383275986, 0.036680422723293304, -0.01699664071202278, -0.03683909773826599, -0.0510382317006588, -0.006482325028628111, -0.014768670313060284, 0.04522717744112015, 0.00914...
<p>I am having difficulty figuring out how to calculate the SEM and report it in a table. I have 5 different time periods, and for those time periods 6 different measures of digestibility for each animal:</p> <pre><code>horse period adfdig'y ndfdig'y 1 1 45.1 70.2 2 1 ...
g59608
[ 0.00315813347697258, 0.01356907095760107, -0.020661046728491783, -0.03535006195306778, 0.020489031448960304, -0.027442187070846558, 0.003898436203598976, 0.027733774855732918, -0.031447988003492355, 0.031072601675987244, -0.019621916115283966, 0.011328193359076977, 0.06898131221532822, 0.0...
<p>So I have a series of non-linear equations which I wish to solve as fast as possible, to illustrate for the case of $n = 4$, I have the following equations: </p> <p>\begin{gather*} c_0\exp(\lambda_0-1)+f\exp(\lambda_0 + \lambda_1 + \lambda_2 + \lambda_3 + \lambda_4 - 1) = 1 \\ c_1\exp(\lambda_0+\lambda_1-1)+f\exp(\...
g59609
[ 0.004260694608092308, 0.003063248936086893, -0.011853408068418503, -0.012334522791206837, 0.005453341640532017, -0.06324148178100586, 0.02840823121368885, -0.04888182505965233, -0.05438593775033951, 0.03307856246829033, -0.01613522134721279, 0.025485651567578316, -0.034171298146247864, 0.0...
<p>I am running multiple linear regression with R.</p> <pre><code>mod=lm(varP ~ var1 +var2+var3+var4) </code></pre> <p>The table is:</p> <pre><code>all: lm(formula = varP ~ var1 + var2 + var3 + var4) Residuals: Min 1Q Median 3Q Max -4.9262 -0.6985 0.0472 0.7319 4.3305 Coefficients: ...
g59610
[ -0.03234114497900009, -0.029473230242729187, -0.016538282856345177, -0.02699693664908409, 0.01795145869255066, -0.02898966521024704, 0.07541568577289581, 0.04241650179028511, -0.05042938143014908, -0.018482821062207222, -0.04019589722156525, 0.06339164823293686, 0.046857353299856186, -0.01...
<p>I have 2 data sets (I have more but for simplicity lets say I have 2). </p> <pre><code>Data 1 0.15239652 0.145848036 0.175981261 Data 2 0.417902092 0.342696648 0.354871141 </code></pre> <p>I average these values </p> <pre><code>Data 1 : 0.158075272 Data 2 : 0.371823294 </code></pre> <p>Then normalise </p> <pre...
g15227
[ 0.029296502470970154, -0.03518465906381607, -0.006234890315681696, -0.027434367686510086, 0.031028298661112785, 0.025197096168994904, -0.006948571186512709, 0.026255007833242416, -0.109184131026268, -0.019766192883253098, -0.05376654118299484, 0.08027135580778122, 0.018691780045628548, -0....
<p>I am trying to forecast data using ARIMA. I have read articles which say that I should first take the log of the series, if my series follows an exponential trend. </p> <p>My question is: Is there a mathematical approach to find what kind of trend (linear or exponential) my data is following? </p> <p>Im working wi...
g59611
[ 0.03340890258550644, -0.03151386231184006, 0.003146607195958495, -0.017022717744112015, -0.02486683428287506, -0.03210674598813057, 0.03585069999098778, -0.007958990521728992, -0.06488849967718124, -0.018710512667894363, 0.001583364442922175, 0.08022770285606384, 0.08899012207984924, -0.00...
<p>I'm trying to find the best model based on AIC using the stepwise (<code>direction = both</code>) model selection in R using the stepAIC in MASS package.</p> <p>This is the script i used: </p> <pre><code>stepAIC (glmer(decision ~ as.factor(Age) + as.factor(Educ) + as.factor(Child), family=binomial, data=RShifting)...
g59612
[ -0.013658377341926098, -0.024903636425733566, -0.00667004706338048, -0.012820472940802574, 0.011922824196517467, -0.054439593106508255, 0.05367156118154526, 0.04738864302635193, -0.011580522172152996, -0.034501612186431885, 0.013281835243105888, 0.01648704707622528, 0.09742555767297745, 0....
<p>I am reading the lecture note from Cambridge University about Probabilistic Ranking and they claim that the normalized constant has a closed form in the below formula but I could not know how to prove. Would you please help me to handle this relation?</p> <p>$\int_{-\infty}^{\infty}\int_{-\infty}^{\infty} \mathcal{...
g49565
[ -0.020321456715464592, -0.04953859746456146, -0.027521641924977303, -0.06481142342090607, 0.004400338511914015, 0.028404809534549713, 0.04206693172454834, -0.026747431606054306, -0.04507235437631607, -0.029391545802354813, -0.02433709241449833, 0.0770990177989006, -0.022600082680583, 0.015...
<p>I have two multivariate normal densities and I parameterise them by the <em>precision</em> matrix (i.e. the inverse covariance matrix). One of them has a sparse precision matrix and the other one has a simple precision matrix form with non-zero elements only along the diagonal matrix. So, we have as follows:</p> <p...
g59613
[ -0.0062051150016486645, -0.06769587844610214, -0.012161392718553543, -0.054901547729969025, 0.04055577144026756, -0.02925420179963112, 0.01413852907717228, 0.01120374072343111, -0.009693334810435772, 0.022525833919644356, -0.011222928762435913, 0.018314002081751823, 0.029768647626042366, -...
<p>I was wondering if it is possible to do symbolic computation in R? </p> <p>For example, </p> <p>I was hoping to get the inverse of a symbolic covariance matrix of 3D Gaussian distribution.</p> <p>Also can I do symbolic integration and differentiation in R?</p> <p>Thanks and regards!</p>
g59614
[ 0.03746313601732254, -0.027614401653409004, -0.008480814285576344, -0.052503105252981186, -0.033200718462467194, -0.030749257653951645, 0.018955180421471596, 0.08198416233062744, -0.09319460391998291, 0.03548013046383858, -0.009545175358653069, 0.055405762046575546, 0.05521353334188461, -0...
<p>Short definition of <a href="http://en.wikipedia.org/wiki/Boosting_%28machine_learning%29">boosting</a>:</p> <blockquote> <p>Can a set of weak learners create a single strong learner? A weak learner is defined to be a classifier which is only slightly correlated with the true classification (it can label exa...
g59615
[ 0.0029474650509655476, -0.021494686603546143, 0.005361531395465136, -0.033708684146404266, 0.022792767733335495, 0.011976880952715874, -0.045239679515361786, 0.055425919592380524, 0.025727175176143646, -0.0014892879407852888, -0.01997951790690422, 0.009741602465510368, 0.039148297160863876, ...
<p>The inequality:</p> <p>$$\Pr(\overline X - \mathrm{E}[\overline X] \geq t) \leq \exp \left( - \frac{2n^2t^2}{\sum_{i=1}^n (b_i - a_i)^2} \right)$$</p> <p>Is this bound (or any other form of hoeffding) tight in any sense? e.g. does there exist a distribution for which the bound is no more than a constant multiple o...
g59616
[ -0.033153560012578964, 0.050552088767290115, -0.0072478014044463634, 0.0008327721152454615, -0.02060886099934578, 0.01495069358497858, -0.013700871728360653, -0.03943135589361191, -0.06866953521966934, -0.023695150390267372, 0.0029445949476212263, -0.010826588608324528, -0.000298767990898340...
<p>I am interested in solving the following problem </p> <p>$$ \min_{\boldsymbol{\beta}} \left( \mathbf{y}-\mathbf{X}\boldsymbol{\beta} \right)^T W \left( \mathbf{y}-\mathbf{X}\boldsymbol{\beta} \right) + \lambda \left|\boldsymbol{\beta}\right|_1 $$</p> <p>$\mathbf{y}$ is the vector of observations for each dataset.<...
g15233
[ 0.018473554402589798, -0.014880492351949215, -0.020588142797350883, -0.06195851042866707, -0.03030683845281601, -0.07363444566726685, 0.009566489607095718, 0.008953467942774296, -0.04499009996652603, 0.0049757882952690125, 0.02539646252989769, 0.07008422166109085, 0.049548547714948654, 0.0...
<p>I recall reading that this is a no-no. Makes sense, b/c the pattern/relationship may dramatically change outside of the interval. My question is: Is there a rule for this convention? Interpolation vs. extrapolation? </p> <p>Like if you have a correlation between auto price to auto mileage, and the range of mil...
g49566
[ 0.0406549908220768, 0.0082596680149436, 0.014371867291629314, -0.0248437337577343, -0.04921574518084526, 0.003645783057436347, -0.001981285633519292, 0.04285433888435364, -0.04127027094364166, -0.008512528613209724, -0.023616069927811623, 0.015437544323503971, 0.011842860840260983, 0.01758...
<p>Can someone help me in understanding Sequential signed rank test? how do we relate sequential test with signed ranking test and how do we decide H0 and H1 in SSRT?</p>
g59617
[ -0.006618463899940252, 0.004274790175259113, 0.021511752158403397, 0.04351126775145531, 0.015330014750361443, -0.04668089747428894, 0.02763957343995571, 0.07526054978370667, -0.0028268469031900167, -0.02436782792210579, -0.048341333866119385, 0.052472855895757675, -0.01758601702749729, -0....
<p>How can I check the linear independence of my variables?</p> <p>I have this system $Ax=b$ where A is a $N\times 4$ matrix.</p> <p>I want to check the linear independence between the 4 variables in matrix $A$. </p>
g59618
[ 0.0137191042304039, -0.026733025908470154, 0.002194124273955822, -0.0026292356196790934, -0.037490468472242355, -0.07110901176929474, -0.014639504253864288, 0.0188194140791893, -0.010169994086027145, 0.002980327932164073, -0.005434355698525906, 0.04779023304581642, -0.07414113730192184, 0....
<p>Is there a article/textbook that treats probability distributions on functions just like basic textbooks cover the classical distributions for scalar variables?</p> <p>Suppose the random function $f$ has a gaussian process distribution with some mean function $m$ and covariance function $w$. I know how to generate ...
g37519
[ 0.04073382169008255, -0.04658754914999008, -0.012011813931167126, -0.04443371668457985, -0.008799794130027294, 0.03590497747063637, -0.008593077771365643, 0.04953640326857567, -0.039250098168849945, -0.04658014327287674, -0.009539549238979816, 0.042202893644571304, 0.08667807281017303, -0....
<p>After gathering valuable feedback from previous questions and discussions, I have came up with the following question: Suppose that the goal is to detect effect differences across two groups, male vs. female for example. There are two ways to do it:</p> <ol> <li><p>running two separate regressions for the two group...
g21718
[ 0.017454950138926506, -0.014479892328381538, 0.0063040293753147125, -0.045441873371601105, 0.01962663233280182, 0.024941250681877136, 0.03480612486600876, 0.0013607913861051202, -0.03960825130343437, -0.004032693337649107, 0.01138162799179554, 0.051871851086616516, 0.014841214753687382, 0....
<p>Suppose we have two finite discrete probability distributions, say $A$ and $B$. For some event $e$ in both $A$ and $B$, $f_A(e) = \frac{P_A(e)}{P_A(e) + P_B(e)}$ and $f_B(e) = \frac{P_B(e)}{P_A(e) + P_B(e)}$. Does this have a name?</p>
g45314
[ 0.06355387717485428, -0.014042492024600506, 0.0175346527248621, -0.02412942796945572, 0.05520319938659668, -0.0482298769056797, -0.02921479381620884, 0.020700370892882347, -0.009492236189544201, -0.06309632956981659, -0.014494335278868675, -0.013228796422481537, 0.04226333647966385, -0.034...
<p>Given a distribution $f(x_i,y_i;\alpha,\beta)$ and joint probability function $F(x_1,...,x_N,y_1,...,y_N;\alpha, \beta)$</p> <p>The first order derivatives are $\frac{\partial F}{\partial \alpha}$ and $\frac{\partial F}{\partial \beta}$ </p> <p>Is the first order condition </p> <blockquote> <p>$\frac{\partial ...
g59619
[ 0.05189802125096321, 0.01191477756947279, 0.004066246561706066, 0.009122255258262157, 0.0851120799779892, -0.06995217502117157, 0.005358455237001181, 0.0010856371372938156, -0.07204453647136688, -0.009917664341628551, -0.032968781888484955, 0.010841328650712967, -0.028895080089569092, 0.03...
<p>While checking to see whether two variables were correlated, I observed that applying Pearson correlation yielded numbers as low as 0.1 indicating no correlation. Is there anything I can do to strengthen this claim?</p> <p>The dataset (subset because of the posting limits) I am looking at is this:</p> <pre><code>6...
g59620
[ 0.02150915190577507, -0.05155661329627037, 0.022433463484048843, -0.11804377287626266, 0.03520994633436203, -0.039440955966711044, 0.10879240185022354, -0.00455915741622448, -0.04538211226463318, -0.05278158560395241, -0.005444864276796579, 0.059244852513074875, 0.027525069192051888, -0.00...
<p>I have carried out simple linear regression and I am now checking the models meets the assumption of homogeneity of variance:</p> <p>• am I correct in concluding that the Levenes tests which gave a p&lt;0.05 indicates a violation of homogeneity of variance?</p> <p>• some models contain 2 or 3 explanatory variables...
g28450
[ 0.04011791944503784, -0.05387211591005325, 0.014691753312945366, -0.04940704256296158, 0.05624569579958916, 0.01877480000257492, 0.016099844127893448, 0.01716914027929306, -0.05925248563289642, 0.0106120640411973, 0.010716985911130905, 0.011148947291076183, -0.028041811659932137, 0.0260922...
<p>Can the terms LDA (Linear Discriminant Analysis) and GDA (Gaussian Discriminant Analysis) be used interchangeably? Do they often refer to the same thing?</p>
g44574
[ 0.0270267091691494, -0.03849171847105026, 0.020528892055153847, -0.08942264318466187, -0.004265189170837402, -0.011801271699368954, 0.022987576201558113, -0.016070326790213585, -0.02454138547182083, -0.03347643092274666, 0.013245431706309319, 0.05691857635974884, 0.07085473835468292, -0.00...