question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I have a very large dataset and about 5% random values are missing. These variables are correlated with each other. The following example R dataset is just a toy example with dummy correlated data.</p> <pre><code>set.seed(123) # matrix of X variable xmat &lt;- matrix(sample(-1:1, 2000000, replace = TRUE), ncol = ...
g58227
[ 0.01986714079976082, -0.053038340061903, 0.01714264042675495, -0.04466995969414711, -0.009956279769539833, -0.017772536724805832, 0.01280987448990345, -0.012747783213853836, -0.021604813635349274, 0.044543419033288956, 0.01955678127706051, -0.01767634227871895, -0.016471540555357933, 0.048...
<p>From any generic sampling algorithm, one can derive an optimization algorithm.</p> <p>Indeed, to maximize an arbitrary function $f: \textbf{x} \rightarrow f(\textbf{x})$, it suffices to draw samples from $g \sim e^{f/T}$. For $T$ small enough, these samples will fall near the global maximum (or local maxima in prac...
g35
[ 0.021213674917817116, 0.0073906295001506805, 0.0005810085567645729, -0.032087717205286026, -0.01269858330488205, -0.08368372917175293, -0.052140600979328156, 0.03016677312552929, -0.04684755951166153, 0.003343124408274889, -0.0359288714826107, 0.006193900480866432, 0.04575302451848984, 0.0...
<p>Does anybody has the example of the program which simulates Sequential Monte Carlo Algorithm? In any software. I'm trying to write such kind of program but there constantly are question and problems I can't solve. Regards</p>
g58228
[ 0.06870318949222565, 0.03181232884526253, 0.04442240297794342, -0.043090689927339554, -0.049757394939661026, -0.058820001780986786, 0.02997359074652195, 0.032811686396598816, -0.04293045774102211, 0.04637933522462845, -0.03245704621076584, 0.04785941541194916, 0.00989153515547514, 0.015484...
<p>I have several time series that are each observations of the same phenomenon, for example:</p> <blockquote> <p>Observation 1: 10, 25, 36, 72, 80, ....</p> <p>Observation 2: 32, 46, 78, 90, 100, ....</p> <p>Observation 3: 12, 27, 34, 75, 36, ...</p> <p>....</p> <p>Observation 100: 7, 33, 45, 56...
g58229
[ 0.003868949832394719, 0.01816132478415966, 0.006384736392647028, -0.02053789421916008, 0.023691706359386444, -0.009182224050164223, 0.03412053734064102, -0.0046538300812244415, -0.013796540908515453, -0.008722351863980293, 0.000341070001013577, -0.015284065157175064, 0.07756026089191437, 0...
<p>Using an average temperature data (Y1), I was trying to replicate the R command below as used in <em><a href="http://rads.stackoverflow.com/amzn/click/1441926135" rel="nofollow">Time Series Analysis With Applications in R</a></em> by Jonathan D. Cryer &amp; Kung-Sik Chan, but I keep receiving an error message. R Com...
g58230
[ 0.014899195171892643, -0.06819000095129013, -0.013425290584564209, -0.08299124985933304, 0.02655605413019657, -0.04836759716272354, 0.05129662901163101, -0.03225674480199814, -0.07190293818712234, -0.02916152961552143, 0.022810865193605423, 0.019715838134288788, 0.07478707283735275, 0.0192...
<p>I am regressing different dependent variables using same set of predictors for all dependent variables such as </p> <pre><code>y1=beta0+beta1.X1+beta2.X2+..... y2=beta0+beta1.X1+beta2.X2+..... </code></pre> <p>Would that be multiple testing scenario? If so, how can be adjusted for it?</p>
g13217
[ 0.00514955585822463, -0.026199113577604294, 0.006253311410546303, 0.00936331506818533, 0.030692975968122482, -0.05194712430238724, 0.002165076555684209, 0.01704346388578415, -0.05360613763332367, -0.058399274945259094, -0.02304123528301716, 0.06548300385475159, -0.02705300599336624, 0.0646...
<p>I am developing a linear model of yield against time (33 years of yield data) where year is 1975,1976....2007. I want to know whether change in yield over time was linear or not. So I fitted a linear model of yield against year:</p> <pre><code> mdl&lt;-lm(yld ~ year,data=data) </code></pre> <p>In my second model, ...
g13218
[ 0.041815828531980515, -0.04504982382059097, 0.016408676281571388, -0.023833908140659332, -0.043914008885622025, -0.0065390439704060555, 0.02549171820282936, -0.02407759241759777, -0.054020702838897705, 0.030206816270947456, 0.013551623560488224, 0.02333894558250904, 0.09290554374456406, -0...
<p>I am confused with multiple comparisons adjustments. I have a $p$-values with lot of ones ( due to many scores in foreground are 0) from a fisher-exact test. I get some $p$-values which are significant without multiple testing correction. The $p$-value compose of 1000 $p$-values of </p> <pre><code> Min. 1st Qu. ...
g58231
[ 0.005584615748375654, -0.05883850157260895, -0.01282507088035345, -0.003413634840399027, 0.044953618198633194, -0.0028184778057038784, 0.02230057679116726, 0.02767239138484001, -0.02545979432761669, -0.004331340081989765, -0.043470598757267, -0.017956657335162163, 0.022752588614821434, 0.0...
<p>I'm fitting a HMM to time series, for each data set I use BIC results to select the optimum number of states. In that, the BIC number is lowest and thereby indicating this model with that number of states best describes that data set. Is this procedure correct?</p> <p>For my time series sets (around 500 time serie...
g58232
[ 0.004836594220250845, -0.0090794051066041, 0.019650809466838837, 0.0014439899241551757, 0.02509106695652008, -0.0731915831565857, 0.016181493178009987, 0.0382516011595726, -0.01066731195896864, -0.025749752297997475, 0.0009259532671421766, 0.010305587202310562, 0.034417714923620224, -0.002...
<p>Lets say I'm creating a study that looked at treatments for metastasis in African American colon cancer patients. Would my control group or comparison group be Caucasian colon cancer patients with metastasis? I'm a bit confused about how to create control groups in this context. </p>
g58233
[ -0.03158065304160118, -0.004876050632447004, 0.0028147860430181026, -0.05375492572784424, 0.07947167009115219, -0.02253451943397522, -0.03852345049381256, 0.010030228644609451, 0.008732084184885025, -0.0007144066621549428, 0.03027670830488205, 0.03992299735546112, 0.05556055158376694, 0.04...
<p>If I have two continuous distributions $f(x)$ and $g(x)$, there are several mathematical ways to combine $f$ and $g$ to get new distributions. Which correspond to what statistical interpretation? For example, if I multiply $f$ and $g$ into $fg$, does $fg$ have a statistical meaning? What about $f/g$, $f \circ g$ and...
g13220
[ 0.02988988719880581, 0.00610351050272584, -0.012280103750526905, -0.015770383179187775, 0.00911632925271988, -0.008456755429506302, -0.020778058096766472, 0.014963806606829166, -0.024140946567058563, -0.07925999909639359, -0.02895193360745907, -0.029921842738986015, 0.07338209450244904, -0...
<p>It seems that there are far more discriminative learning approaches out there than generative. Have discriminative models been studied more in literature than generative?</p> <p>Thanks</p>
g58234
[ 0.010828007943928242, -0.003253239905461669, 0.030591676011681557, 0.002853851765394211, 0.044252775609493256, -0.03119978867471218, 0.021606754511594772, 0.04154049977660179, 0.0019530535209923983, -0.01964123547077179, -0.002263310132548213, -0.005219924263656139, 0.11837134510278702, 0....
<p>The data we are interpolating is monotonically increasing (for example, a car's odometer reading). We have two types of points we'd like the solution to interpolate through. The solution surface must pass through critical points. The solution does not have to pass through non-critical points, but must aim to minimiz...
g58235
[ 0.046164389699697495, -0.025777459144592285, 0.010640616528689861, -0.04285486042499542, -0.0035728749353438616, -0.04053720459342003, 0.035070884972810745, 0.0022221871186047792, -0.0738418847322464, -0.009208333678543568, 0.013311875984072685, 0.008285258896648884, 0.08014991134405136, -...
<p>I've 12 unique subjects, and in total I've almost 1700 observations.</p> <p>I've an ordinal response variable (has 4 levels) and 3 categorical covariates (each one has different levels 3, 5, 2, and 4 respectively).</p> <p>The values of response and covariates are changing for any unique subject.</p> <p>What's the...
g58236
[ -0.023353712633252144, 0.009576953016221523, -0.013163742609322071, -0.08315808326005936, 0.0340317077934742, -0.027739686891436577, 0.018285349011421204, -0.015899203717708588, -0.01190219260752201, 0.002448253333568573, 0.05731404572725296, 0.00540377339348197, 0.062468964606523514, 0.07...
<p>While I was writing up the analysis in my thesis, I just came across when rechecking my test for normality, that the p-value for most continuous variables was .000, which is less than .05, and it rejects the null hypothesis which means to my understanding my data is not normally distributed.</p> <p>I have already c...
g58237
[ 0.07362708449363708, -0.045592788606882095, 0.007076800800859928, -0.00002057535675703548, -0.014168155379593372, 0.02047835662961006, 0.062203291803598404, 0.041241396218538284, -0.0036491036880761385, 0.010743743740022182, 0.0243353433907032, -0.004419737495481968, -0.03102761320769787, ...
<p>For the life of me I cannot find a way to solve this question. Any help would be appreciated!</p> <p>From past experience, a professor knows that the test score of students taking a final examination is a random variable with mean 65. Suppose in addition the professor knows that the variance of a student's test sco...
g58238
[ -0.01915179006755352, -0.0032062535174191, 0.00994811486452818, -0.036138471215963364, -0.011687596328556538, 0.00571032240986824, 0.016292065382003784, 0.008473618887364864, -0.007026427425444126, -0.010257377289235592, 0.009845076128840446, 0.03196030855178833, -0.02492147497832775, -0.0...
<p>I have some data about users from different regions visiting different directories of some website. Aggregating that data I get the co-occurrence frequency matrix (for regions and directories). Now I want to distinguish two situations:</p> <ol> <li>The users visit directories independently from their regions</li> <...
g58239
[ -0.0027048049960285425, 0.027545107528567314, -0.013737055473029613, -0.034108322113752365, 0.03396487981081009, -0.032111044973134995, 0.03710423409938812, 0.04437826946377754, -0.03370573744177818, 0.024072054773569107, 0.04821575805544853, 0.02150583639740944, 0.07160935550928116, 0.012...
<p>So, I have a question for a proposal and I'm fairly certain I'm getting an incorrect answer from our local "stats guy". For the record, it's archival data so I can't change the items (which aren't that well done):</p> <p>One set of items is looking at the appropriateness of behaviour of two types of professionals ...
g58240
[ 0.015017376281321049, -0.011854778975248337, -0.005771115887910128, -0.0445876270532608, 0.0012152151903137565, 0.028087619692087173, 0.046953074634075165, -0.0012366181472316384, 0.008846517652273178, -0.005619321018457413, 0.05785800516605377, -0.00044872722355648875, 0.047265563160181046,...
<p>In my clustering problem I'm working with custom similarity measure and looking for any implementation of algorithms with asymmetrical distance or similarity matrix. I'm only interested in those that can offer custom similarity/distance matrix as input or a custom similarity measure function. Language of implementat...
g42104
[ 0.02582697756588459, -0.06775183975696564, 0.01955299638211727, -0.023492466658353806, 0.004237613175064325, -0.07629523426294327, -0.03716303035616875, 0.014384244568645954, -0.026585496962070465, 0.004704597871750593, 0.03689942881464958, 0.036376722157001495, 0.06711123883724213, 0.0089...
<p>For a series of observations $(\vec{x}_i, y_i), i = 1 \cdots N$ from the linear model $Y = \beta^T X + \epsilon$, the least squares estimate of $\beta$ is: $\hat{\beta} = (\mathbf{X}^T \mathbf{X})^{-1}(\mathbf{X}^T\mathbf{Y})$. Fitted values can be obtained as $\hat{y}_i = \hat{\beta}^Tx_i$. However I would like th...
g58241
[ -0.023796627297997475, -0.006614134646952152, -0.035089146345853806, -0.030820118263363838, 0.03897340968251228, -0.04572920501232147, 0.008591193705797195, -0.019259080290794373, -0.021469291299581528, -0.009066002443432808, -0.027882559224963188, 0.07086405158042908, 0.027037115767598152, ...
<p>In testing the parallel regression assumption in ordinal logistic regression I find there are several approaches. I've used both the graphical approach (as detailed in Harrell´s book) and the approach detailed using the <a href="http://cran.r-project.org/web/packages/ordinal/vignettes/clm_tutorial.pdf" rel="nofollo...
g58242
[ 0.047498106956481934, -0.027980612590909004, 0.005060320720076561, -0.09184116870164871, -0.004480167757719755, -0.09352956712245941, -0.004772121086716652, 0.02815571427345276, -0.0165998637676239, 0.0010384604102000594, 0.05560186877846718, 0.05325918272137642, -0.008538189344108105, 0.0...
<p>I read some articles where theory of rough sets is also considered as data mining algorithm. Hovewer, I have not found so far any example when this theory may be useful in solving data mining problems. I am also wondering that there is no R package for rough sets manipulation.</p> <p>Could you give me some examples...
g39533
[ 0.010631753131747246, 0.010727884247899055, 0.01739989034831524, 0.012938521802425385, -0.00045611720997840166, -0.07640527933835983, 0.018926559016108513, 0.010072858072817326, -0.02027050033211708, 0.024278081953525543, 0.024756520986557007, 0.015939325094223022, 0.01424067746847868, 0.0...
<p>Imagine two experiments:</p> <p>1) A group of $n=100$ individuals are under condition $A$, and they perform some test. Among these individuals, $y=5$ individuals succeed in the test. </p> <p>2) A group of $m=1000$ individuals are under condition $\Delta$ and they perform some test with two possible issues: the fir...
g58243
[ -0.028381500393152237, 0.0014360148925334215, -0.004463618155568838, 0.013928805477917194, 0.025905633345246315, 0.015401351265609264, 0.007131901569664478, 0.009556679986417294, -0.040367450565099716, -0.0221976600587368, 0.03372694551944733, 0.044695548713207245, -0.015946637839078903, 0...
<p>I'm using R.After getting an error asking me to provide starting values for a glm (poisson family), I took a look at my data and realized I had quite a bit of zeroes. So, I tried zeroinfl from pscl. I got the "computationally singular" error, so I tried dist="negbin". Same error. I looked at my data via with(bytype,...
g3032
[ 0.022526271641254425, -0.006010643672198057, -0.018604695796966553, -0.0426483154296875, 0.026529768481850624, -0.023587696254253387, 0.018861332908272743, 0.022015750408172607, -0.10608883202075958, -0.06156168133020401, -0.03325367718935013, -0.0006132198614068329, 0.024380899965763092, ...
<p>I calculate multiple linear regression in R with </p> <pre><code>lm(var ~ VAR1+VAR2+VAR3+VAR4) </code></pre> <p>Do you know how to calculate R-squared change for each variable <code>VAR1</code>, <code>VAR2</code>, <code>VAR3</code> ? Thank you</p>
g13228
[ 0.006322143133729696, -0.08665572851896286, 0.0002473859640303999, -0.0051564984023571014, -0.0015452861553058028, -0.04552600905299187, 0.008179445751011372, 0.03074176050722599, -0.05137567222118378, 0.0062993476167321205, -0.09350019693374634, 0.06883943825960159, 0.02668650820851326, 0...
<p>In <a href="http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2441782/" rel="nofollow">this paper</a>, the authors present a scoring algorithm for potential transcription factor binding sites, based on the position-specific probability matrix (PSPM) for that particular transcription factor. </p> <p>The binding site is 2...
g58244
[ 0.008373412303626537, 0.002135541755706072, -0.005770951509475708, -0.05671401694417, 0.0085142208263278, -0.03450750932097435, 0.01822708174586296, 0.03939206525683403, -0.04107645899057388, 0.005682240705937147, 0.055283401161432266, 0.031555626541376114, 0.031015438959002495, -0.0275644...
<p>Can a gaussian ARMA process have non-gaussian innovations? (i.e., is there an ARMA process that is gaussian, but the corresponding innovations are not gaussian)?</p>
g58245
[ -0.010664984583854675, -0.012119532562792301, 0.02556869573891163, -0.0024853572249412537, 0.03590827435255051, 0.01656237058341503, -0.023875446990132332, -0.02479664981365204, 0.01946214959025383, 0.02270008623600006, -0.011500193737447262, 0.05739106237888336, 0.029246047139167786, 0.01...
<p>I have a nonlinear physical model for which I'm trying to determine parameter uncertainties using Monte Carlo. Instead of describing the nitty-gritty details, I will use a series of figures: </p> <p><img src="http://i.stack.imgur.com/0unTV.jpg" alt="enter image description here"></p> <p><img src="http://i.stack.i...
g58246
[ 0.024304792284965515, -0.011453571729362011, -0.015012793242931366, -0.003668110119178891, 0.057311076670885086, 0.04118969663977623, 0.015105481259524822, -0.012455706484615803, -0.06881116330623627, 0.028313688933849335, -0.006038156803697348, -0.004753545392304659, 0.03185298293828964, ...
<p>What are the lesser known but powerful probabilistic inference algorithms?</p> <p>Most references about probabilistic graphical models describe popular inference methods like Variable Elimination and Junction Tree. But I think that there are a huge number of other important probabilistic inference algorithms out th...
g58247
[ 0.043118562549352646, -0.007480542175471783, 0.01656416617333889, 0.011747337877750397, -0.038582414388656616, -0.07031874358654022, 0.06358058005571365, 0.040197644382715225, -0.032690923660993576, -0.017445698380470276, 0.019142812117934227, -0.017943449318408966, 0.0597386434674263, 0.0...
<p>I'm working with a dataset that contains information about consumption of apples. The dataset contains the amount of apple consumed in g/day. The problem with this is that the data points fall into 3 categories: - a real number (e.g. 54 g/day, people weighing their consumption) - a discrete number (number of apples...
g58248
[ 0.028581153601408005, 0.0387667752802372, -0.015828849747776985, -0.09195124357938766, -0.015522049739956856, -0.024125095456838608, -0.013246591202914715, 0.042133983224630356, -0.09595184773206711, -0.02235669083893299, 0.03591342642903328, -0.0254460871219635, 0.07344718277454376, -0.03...
<p>In a mixed model analysis (lme4 + lmerTest for R), I want to analyse the effect of 3 predictors, say <code>A</code>, <code>B</code> and <code>C</code>. Since it is a mixed model, there are two random effects <code>Ran1</code> and <code>Ran2</code>.</p> <p>I first built a random intercept model with <code>Ran1</code...
g18715
[ -0.015763120725750923, -0.06442146748304367, -0.007466701325029135, -0.04291302338242531, 0.03291481360793114, 0.012143407016992569, 0.0779929906129837, 0.06216200068593025, -0.034413281828165054, -0.05689943954348564, 0.005144000053405762, 0.04531747102737427, 0.015382825396955013, 0.0273...
<p>How I can combine hazards regression coefficient in meta analysis? I want to have a complete regression from combing hazard regression with different covariates. I mean some of them have additional covariates compared to others.</p>
g58249
[ -0.005753688979893923, -0.02441374771296978, 0.009879195131361485, -0.032870352268218994, 0.051312465220689774, 0.009188399650156498, 0.006813898216933012, 0.0009619681513868272, 0.04694344103336334, -0.03503231704235077, -0.008354631252586842, -0.009581065736711025, 0.060303863137960434, ...
<p>I'm doing different regression tasks based on models of the form $y=m(x)+\epsilon$ where $y$ is vector valued data, $m(x)$ is the output of a computer model and $\epsilon \sim N(0,V)$ is a multinormal distributed error term.</p> <p>I assume that the errors are non-correlated so $V$ is a diagonal-matrix which can be...
g13233
[ 0.02527439221739769, -0.05556275695562363, -0.023837922140955925, -0.0061621456407010555, -0.01876281574368477, 0.002165629528462887, 0.042891960591077805, 0.00647566607221961, -0.037466131150722504, 0.0007630853797309101, -0.03884342685341835, 0.015220731496810913, 0.007232750300318003, 0...
<p>I am working with a multivariate time series and using VAR (Vector Autoregression) model for forecasting. My question is What does stationarity actually means in a multivariate framework. </p> <p>1) I know that if in VAR setup if determinant of inverse of |I-A|matrix has eigen values less than 1 in modulus , the ov...
g58250
[ 0.004634559620171785, -0.06987162679433823, 0.0006344256107695401, -0.03883161395788193, 0.02065613679587841, -0.029645143076777458, 0.05902932956814766, 0.021124878898262978, -0.032895930111408234, 0.01477468479424715, -0.020473456010222435, 0.014513595961034298, 0.03582039102911949, 0.01...
<p>I'm not a statistician, so I would appreciate an answer in the simplest possible words. I've read that, in some sense, when we minimize the mean square error, we are maximizing the likelihood.</p> <p>This seems to have more sense if we consider the noise in the system as pure additive Gaussian noise (i.e. $y = f + ...
g58251
[ 0.051757361739873886, -0.054950762540102005, 0.02493821643292904, 0.0189776923507452, -0.0015298966318368912, -0.009097149595618248, 0.023905768990516663, 0.00901726819574833, -0.045387059450149536, -0.01571219228208065, -0.02458786591887474, 0.02217452973127365, 0.10096193104982376, 0.043...
<p>I am currently assessing whether or not a location-shift can be assumed in non-parametric comparisons to be able to formulate the rejection of the null hypothesis in other terms than the probabilistic index. To do so, I center my data and execute a pairwise two-sample Kolmogorov-Smirnov test on each pair. The data i...
g58252
[ -0.019892849028110504, -0.06424357742071152, -0.007474868092685938, -0.037406645715236664, -0.02391977235674858, -0.0125407250598073, 0.011249233037233353, 0.06702334433794022, -0.026399273425340652, -0.012638199143111706, -0.0012299636146053672, -0.00011751599231502041, 0.01596195250749588,...
<p>There are functions in R (e.g., <code>PP.test</code> and <code>adf.test</code>) which have null hypothesis of unit-root in the process ($H_0$: there is a unit root). Does this null hypothesis mean "the process is difference stationary"? If yes, what is the order of difference required to make it stationary? </p> <p...
g27
[ 0.04509748890995979, -0.05349757522344589, -0.01077363546937704, -0.0041623362340033054, 0.08220423758029938, -0.07293885946273804, 0.030477987602353096, 0.009717212058603764, -0.01858527772128582, -0.029587693512439728, -0.019149184226989746, 0.0617411769926548, -0.00828533060848713, -0.0...
<p>I am currently conducting an experiment for part of my coursework as an undergraduate psychology student. I have designed an experiment about naturalistic schemata existing within the individual. I am using basic dichotomous relationships, such as student/teacher and child/parent as examples of natural schemata. Par...
g58253
[ -0.018352428451180458, -0.020119108259677887, -0.007086405996233225, -0.06262139230966568, -0.04188699647784233, -0.03386571630835533, 0.03700828552246094, 0.03688571974635124, -0.026812242344021797, -0.013180246576666832, 0.0374593660235405, 0.009373161010444164, 0.043788932263851166, 0.0...
<p><em>Dataset of frequent 3-itemsets before running the algorithm:</em></p> <pre><code>{1, 2, 3}, {1, 2, 4}, {1, 2, 5}, {1, 2, 6}, {1, 3, 4}, {1, 3, 5}, {1, 3, 6}, {2, 3, 4}, {2, 3, 6}, {2, 3, 5}, {3, 4, 5}, {3, 4,6}, {4, 5, 6}. </code></pre> <p>Assuming there are only six items in the data set. </p> <p><strong>Wh...
g58254
[ 0.0012956393184140325, -0.03568567708134651, -0.0002625194611027837, 0.011106903664767742, -0.041195932775735855, -0.011587535962462425, 0.04261809587478638, 0.03660454601049423, -0.035286106169223785, 0.008557719178497791, -0.058177921921014786, 0.02269085869193077, 0.004110252484679222, ...
<p>I have some data which I wish to estimate the marginal distribution of. I have no real idea what parametric distribution would be suitable, so was planning on fitting a non-parametric (probably kernel) density estimate to the data.</p> <p>However, there are two complications</p> <p>1) The data has a hard threshold...
g58255
[ 0.016161857172846794, 0.013683226890861988, -0.005304494872689247, -0.053147319704294205, -0.05084250494837761, 0.001223389757797122, -0.0027973700780421495, 0.03725442662835121, -0.03875355422496796, -0.010676789097487926, 0.03275357559323311, -0.03123496286571026, 0.05431739240884781, -0...
<p>To reduce the load on the machine I want to take the benefit of the undersampling approach. Here are a few facts about my data:</p> <ol> <li><p>My data is of the order of 20 millions or even more. </p></li> <li><p>The event rate is around 0.8%.</p></li> </ol> <p>Using the undersampling approach, I want to reduce t...
g13236
[ -0.005086355376988649, -0.04068400338292122, 0.007289593573659658, -0.0790041834115982, -0.02555684559047222, -0.020952681079506874, -0.0009584389626979828, 0.027433741837739944, -0.06594716012477875, -0.04793964698910713, -0.004604677204042673, 0.0033325066324323416, 0.02854314260184765, ...
<p>Assume I observe a poisson-process with a rate $\boldsymbol{\lambda}$.</p> <p>I would like to model $\boldsymbol{\lambda}$ as:</p> <p>$\boldsymbol{\lambda} = \boldsymbol{\pi}_1\boldsymbol{\lambda}_1 + \boldsymbol{\pi}_2\boldsymbol{\lambda}_2$</p> <p>where</p> <p>$\boldsymbol{\pi}_k = \text{exp}(\boldsymbol{1}\be...
g58256
[ 0.02598622813820839, -0.03380013257265091, -0.041926365345716476, -0.0036309086717665195, 0.08770780265331268, -0.03494475409388542, -0.021786730736494064, 0.019792577251791954, -0.026944013312458992, 0.05468406900763512, -0.0460820347070694, 0.027455193921923637, 0.01346614770591259, 0.05...
<p>I'm after model that would spit out weights where the weights <code>sum to 1</code> rather than parameters themselves.</p> <p>This is what I have done:</p> <p>I have fitted 3 logit models each with 3 independent variables (and <code>y</code> dependent)</p> <pre><code>logit(y~x+o+z) logit(y~r+q+a) logit(y~b+n+m) <...
g13241
[ 0.02450661174952984, -0.025023747235536575, -0.027786577120423317, -0.04552142322063446, -0.01729624532163143, 0.022728227078914642, 0.007623797282576561, -0.02466440014541149, -0.0458807498216629, 0.0023109347093850374, -0.015334559604525566, 0.0007444233051501215, 0.065959133207798, -0.0...
<p>A first-order autoregressive process, $X_0,\dots,X_n$, is given through the following conditional distributions: $X_i | X_{i-1},\dots,X_0 \sim \mathcal{N}(\alpha X_{i-1},1)$, for $i = 1,2,\dots,n$ and $X_0 \sim \mathcal{N}(0,1)$.</p> <p>I know that the log-likelihood function $\ell{(\alpha)}$ is of the form: $\ell(...
g58257
[ 0.02232184447348118, -0.00030101457377895713, -0.035286009311676025, -0.022959640249609947, 0.017607243731617928, -0.01564186066389084, 0.042842522263526917, 0.015321731567382812, -0.01910177804529667, 0.006234989035874605, -0.050172749906778336, 0.0551762580871582, 0.08342703431844711, 0....
<p>I am reading over some process analysis data for some failure analysis tests, and I have come across the following definition of an "estimated cumulative probability": $$F(t) = \frac{i-3/8}{N+1/4},$$ where $i$ is the rank of the failure case (i.e. failure order), and $N$ is the total number of samples.</p> <p>I had...
g58258
[ 0.03624231368303299, -0.04419941082596779, -0.002340752398595214, -0.01827351748943329, -0.0301186665892601, -0.010174410417675972, 0.09616795182228088, -0.0072458600625395775, -0.07657907903194427, -0.016755275428295135, 0.014150923117995262, -0.017653975635766983, 0.03598965331912041, 0....
<p>I need to be able to automatically divide a dataset into two clusters. There are heuristic reasons to expect the data to have two clusters which would be visually clear if one were to plot the data and in cases I have tested this has panned out. I am familiar with otsu's method for turning a grayscale image into a b...
g58259
[ -0.007812047377228737, -0.017894839867949486, -0.004110525827854872, -0.046680696308612823, 0.008586304262280464, -0.06578794866800308, 0.00444729533046484, 0.04654539003968239, -0.021271010860800743, -0.019701842218637466, 0.06772910058498383, 0.02334270440042019, 0.07938382029533386, 0.0...
<p>I did not see that explicitly mentioned, even though I think it is correct.</p> <p>Isn't the exchangeability assumption the most common assumption about examples in the Bayesian setting?</p> <p>I am thinking of a model of the form $p(x_1,\ldots,x_n,\theta) = p(\theta) \prod_{i=1}^n p(x_i \mid \theta)$, where $p(\t...
g58260
[ 0.018754320219159126, 0.05795206129550934, 0.02105829305946827, -0.043792229145765305, 0.010129592381417751, -0.011598584242165089, 0.01202904712408781, -0.0074046398513019085, -0.021566182374954224, 0.05024418607354164, -0.00221355352550745, 0.01116989180445671, -0.008856034837663174, 0.0...
<p>I'm hoping someone can provide an intuitive overview of what quasibinomial is and what it does. I'm particularly interested in these points:</p> <ol> <li><p>How quasibinomial differs to the binomial distribution</p></li> <li><p>When the response variable is a proportion (example values include 0.23, 0.11, 078, 0.98...
g2228
[ 0.020001281052827835, 0.030362071469426155, 0.01724361442029476, 0.008089229464530945, 0.044193118810653687, -0.00457158824428916, 0.03519398719072342, 0.0044422876089811325, 0.0014508083695545793, 0.002821909496560693, -0.009985726326704025, -0.009831679984927177, 0.006326968315988779, 0....
<p>I have two variables and I need to test if they exhibit a linear relationship so that I will be able to predict a response. Kindly assist in how to handle this problem. This is the data:task is to show that there is linear relationship between bricks used and wastes generated.</p> <pre><code>Trials 1 ...
g13248
[ 0.03767607733607292, -0.030243249610066414, 0.01854759268462658, -0.05916248634457588, -0.012030472978949547, -0.07319039851427078, 0.06688561290502548, -0.0026577257085591555, -0.008699619211256504, -0.01898510567843914, -0.017789948731660843, 0.04011361673474312, -0.04340566322207451, 0....
<p>I am new to meta analysis and how I understood the terminology is that there are actually two ways of performing a meta analysis. Let's consider 5 clinical studies with fixed effects. Fixed effects in terms of the same medical treatment as well as demographic details of the participants. One way of analysing these d...
g58261
[ 0.022290226072072983, -0.004786318633705378, 0.014267733320593834, -0.023995332419872284, 0.0012592952698469162, -0.009204315021634102, -0.005511488299816847, 0.03374486416578293, -0.022776905447244644, -0.028433460742235184, 0.01057933084666729, -0.014539900235831738, 0.03336690738797188, ...
<p>Can you explain intuitively what is a difference between real and imaginary components of Gabor Filter?</p> <p>Thanks.</p>
g58262
[ -0.016488092020154, -0.030098214745521545, 0.01606157049536705, -0.03114442341029644, 0.03228233382105827, 0.02526078000664711, 0.036079999059438705, 0.060768526047468185, -0.011129249818623066, 0.03078439272940159, -0.007980088703334332, 0.01714257150888443, 0.020162971690297127, -0.04055...
<p>I have a dataset composed of about 36000 attributes and 550 samples, the dataset is generated from text communication between people in some chatrooms.</p> <p>The questions is when I try to classify these samples, a Naive Bayes classifier always outperforms a support vector machine, both in speed and accuracy. But ...
g58263
[ 0.08383071422576904, -0.04337095469236374, 0.010794976726174355, 0.024511301890015602, -0.014479482546448708, -0.03534753993153572, -0.00870498176664114, 0.039831116795539856, -0.04598107561469078, 0.03683556988835335, 0.06845211982727051, 0.0005134974489919841, 0.04654182866215706, 0.0114...
<p>I have come across the term <em>exponential family</em>. </p> <p>The Bernoulli, Gaussian and many more distributions come under this exponential family. </p> <p>What would be the commonalities between them?</p>
g3039
[ 0.04091929271817207, -0.002681126119568944, -0.02848006784915924, -0.01920570433139801, 0.010896583087742329, -0.0022789693903177977, -0.0179918073117733, -0.015920419245958328, 0.03237931802868843, -0.008536029607057571, -0.05187999829649925, 0.01337750256061554, 0.08407747745513916, 0.04...
<p>I'm studying the correlation between 2 continuous variables (A~B), the first is an independent measured variable (A), the second one is a dependent estimated variable (B). I'd like to know i) if the correlation (A~B) is statistically different between factor (sites) and ii) how to group factors with the same correl...
g58264
[ 0.01539005246013403, -0.05520472675561905, 0.000009099830094783101, -0.1040465459227562, 0.006407817825675011, -0.012304236181080341, 0.053964223712682724, -0.012111463584005833, -0.02852381020784378, -0.019299501553177834, 0.01343804132193327, 0.032588712871074677, 0.0276653952896595, -0....
<p>I am trying to prove that the best minimum mean squared predictor of $r_{t+l}$ for a stationary ARMA model is the conditional mean $E[r_{t+l}|r_t,r_{t-1},...]$</p> <p>Attempt: $$r_t = \psi(B)a_t = a_t \psi_1 a_{t-1} +\psi_2a_{t-2}+...$$ thus, $$r_{t+l} = \sum^\infty_{j=0} \psi_j a_{t+l-j}$$ Let the minimum mean squ...
g58265
[ 0.02194170095026493, -0.07143551111221313, -0.011326516047120094, -0.017069702968001366, -0.014682285487651825, -0.05247541517019272, 0.024248801171779633, 0.00021677611221093684, -0.039881184697151184, 0.004694572649896145, 0.05593756586313248, 0.04230796545743942, 0.06642352789640427, 0....
<p>I have a list of m x n similarity score matrix, something like </p> <pre><code> c1 c2 c3 c4 c5 d1 0.2159824 0.3528572 0.2390016 0.3673485 0.2849448 d2 0.2849448 0.2669695 0.2441495 0.3829949 0.3511353 d3 0.3281100 0.3251407 0.4328260 0.2895...
g13254
[ -0.01764628477394581, -0.02437344752252102, 0.008702604100108147, 0.0023109891917556524, 0.03601695969700813, -0.008446024730801582, 0.01599648781120777, 0.006127637345343828, -0.05621202290058136, -0.003277076641097665, 0.004961722996085882, 0.00976481568068266, 0.01202379260212183, -0.00...
<p>While studying the standard multivariate linear regression model, I came across the following:</p> <p><img src="http://i.stack.imgur.com/rQzKp.jpg" alt="enter image description here"></p> <p>Could anyone please explain me why the last equality holds, and, why $Z(Z'Z)^{-1}Z'$ cannot simply be simplified to $I$ (isn...
g58266
[ -0.006838521454483271, 0.016868500038981438, -0.02615327201783657, 0.029943665489554405, 0.04394619166851044, -0.026435501873493195, 0.0655958354473114, 0.021401189267635345, -0.027860013768076897, -0.0007484372472390532, -0.02890883758664131, 0.07137396931648254, -0.0013829158851876855, 0...
<p><img src="http://i.stack.imgur.com/slmXM.png" alt="enter image description here"></p> <p>Info:</p> <p><em>Blue line is the official inflation statistics by US Bureau of Labour Stats<br> Red line is by independent researchers who claim to have created better way to measure inflation<br><br> Blue line has been sampl...
g13256
[ -0.03892703726887703, -0.01484629139304161, 0.0007852471899241209, 0.02973913587629795, 0.007276610471308231, -0.01426191907376051, -0.00014853656466584653, 0.010100488550961018, -0.04180647060275078, -0.029984496533870697, 0.013694072142243385, 0.026783550158143044, 0.07178468257188797, 0...
<p>I've a list of distance (between a genomic feature and the closest gene) and I want to check if these distances are enriched (so if the distance is smaller than raking random distances). My idea was to generate random position and to compute the distance between these random positions and closest gene, and to compa...
g58267
[ 0.0031124844681471586, -0.03391939401626587, -0.01371600292623043, -0.02770519256591797, -0.05250050500035286, -0.0048322007060050964, 0.01129353791475296, 0.06994584947824478, -0.025583839043974876, 0.0010745342588052154, 0.01019455585628748, -0.004914481658488512, 0.030933808535337448, -...
<p>I'm trying to fit the data in this message (daily temperatures) using the Holt–Winters technique in R, but can't get the seasonal example in <a href="http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html" rel="nofollow">here</a> to work. Is this not possible with these data, or am I...
g58268
[ 0.0015404095174744725, -0.04979243502020836, 0.017552921548485756, -0.10283111035823822, 0.028474392369389534, -0.023475559428334236, 0.10694513469934464, -0.05179189518094063, -0.04064007103443146, -0.01645473763346672, 0.0009767907904461026, -0.007143140770494938, 0.04688599705696106, -0...
<p>Yes, I have checked that previous answers to "Ran out of iterations..." questions do not solve my problem.</p> <p>I have fault data on Firefox, 899 faults and 1395 (estimated) censored faults. The censoring all happens on one of half a dozen start days and half a dozen end days (the initial/final release of a vers...
g13260
[ 0.01976173184812069, -0.014287088997662067, -0.023119183257222176, -0.0010625296272337437, 0.01655096933245659, -0.0522335059940815, 0.05112679675221443, -0.011828923597931862, -0.0223276074975729, -0.018531039357185364, -0.03894565999507904, -0.008775655180215836, 0.05709525942802429, 0.1...
<h1>Background on bias correction constants</h1> <p>The standard deviation is calculated like this:</p> <p>$$ SD = \left(\frac{1}{N-constant} \sum_{i=1}^N (x_i - \overline{x})^2\right)^{1/2} $$</p> <p>Following <a href="http://en.wikipedia.org/wiki/Standard_deviation#Estimation" rel="nofollow">Wikipedia's entry on t...
g58269
[ 0.0360044501721859, -0.03263809159398079, -0.012373394332826138, -0.07195625454187393, -0.04759662225842476, 0.005260207690298557, 0.04240518435835838, -0.017062077298760414, -0.04322205111384392, 0.018991075456142426, 0.05927518010139465, 0.052646126598119736, 0.01485477201640606, -0.0008...
<p>Regression forests are basically random forests, however used for regression. They basically use the same framework as decision forests use for classification with a few parts exchanged.</p> <p>Two of these parts are:</p> <ol> <li>How to calculate the information gain when deciding how to split at a node?</li> <li...
g13262
[ 0.04140271618962288, -0.04265077784657478, -0.024175334721803665, -0.02375090681016445, 0.0052321734838187695, -0.06678235530853271, -0.025891190394759178, 0.0421772263944149, -0.04919558763504028, -0.0509258396923542, -0.010251281782984734, -0.0032332506962120533, 0.07831379771232605, -0....
<p>Info about dataset: 5 classes, 200 trials, 100 features.</p> <p>(I know about the trial to feature ratio being very low, but can not avoid this here and still got well enough classification results.)</p> <p>Within a ten-fold cross-validation a SVM classifier was trained for each fold (linear nu-svm, optimal nu was...
g13263
[ -0.046563927084207535, -0.042885877192020416, 0.036756861954927444, -0.013826300390064716, 0.03194890171289444, -0.04495701193809509, 0.009363786317408085, 0.0895991176366806, -0.04174988344311714, 0.02120894566178322, 0.013513718731701374, 0.012437372468411922, 0.031386230140924454, 0.070...
<p>I am running a Monte Carlo simulation, using the results of a GAM (response) as the basis for my overall model. I would like to incorporate the error in the GAM into the final result. Since predict.gam (mgcv) includes se.fit, is there a way to resample the response around this standard error? I was thinking of usi...
g58270
[ -0.006183500401675701, -0.048122670501470566, 0.00791918020695448, -0.050321005284786224, -0.05480189248919487, 0.047539904713630676, 0.031187988817691803, 0.04348280280828476, -0.017396340146660805, 0.03538031876087189, -0.00027215760201215744, -0.005711038131266832, 0.04892563819885254, ...
<p>I have a two-sample t-test where the t-statistic is equal to the critical t-value (at three decimal points) at a p-value of 0.05. does this mean i reject the null hypothesis or the opposite? thank you so much!</p>
g49525
[ 0.07266329973936081, 0.004629296250641346, 0.01831653341650963, -0.04443265125155449, 0.02130250073969364, 0.04343632236123085, -0.03521983325481415, 0.018748072907328606, -0.02655244804918766, -0.027827037498354912, 0.0175044946372509, 0.020717861130833626, 0.034309353679418564, -0.050560...
<p>For a probabilistic multi-class classifier we can get probabilities of membership of a new point $x$ to each class $y_i$; in case of 3 classes suppose that we get $P(y_a|x) &gt; P(y_b|x) &gt; P(y_c|x)$, thus the most probable class of x is $y_a$. Now suppose that we have a multi-class svm where we can get scores of ...
g13265
[ 0.0033634663559496403, 0.0007999330409802496, 0.014469859190285206, 0.059076789766550064, 0.017652109265327454, -0.028398722410202026, -0.03873226046562195, 0.03468133136630058, -0.008556519635021687, -0.03429141268134117, -0.03509825840592384, 0.0066240825690329075, 0.05968102440237999, 0...
<p>Say I have a very large sample of observations, like a thousand of them, and I want to do (multiple) linear regression on them, i.e., regressing the response variable on the predictors. Now instead of doing so, I would randomly sample a subset of that large sample (say half of it, or a third of it, or even a fourth)...
g58271
[ -0.003057433059439063, -0.001289033330976963, 0.0029762722551822662, -0.04807323217391968, -0.038306161761283875, -0.04827670380473137, -0.0025755485985428095, 0.02525969408452511, -0.012237696908414364, -0.01906340755522251, 0.010957038030028343, -0.004743424244225025, 0.024476412683725357,...
<p>I got the following exercise where i have to understand the steps theres are done:</p> <p>Since $z_T \sim N(0,T)$:</p> <p>$$\text{Prob}((\mu-0.5\sigma^2)T+\sigma z_T&gt;rT)$$ $$\text{Prob}(z_T&gt;-\dfrac{(\mu-r-0.5\sigma^2)T}{\sigma})$$ $$\text{Prob}(z_T&lt;\dfrac{(\mu-r-0.5\sigma^2)T}{\sigma})$$</p> <p>Then i do...
g58272
[ -0.009180397726595402, 0.007900468073785305, -0.029828425496816635, -0.004813698586076498, 0.05584792047739029, -0.058101970702409744, 0.08014114946126938, 0.009410277009010315, -0.023519692942500114, -0.009856929071247578, -0.1100289449095726, 0.04466467723250389, 0.0063564530573785305, -...
<p>I need to implement an RF created by R on Hadoop. I know a way is to recreate the random forest with the same training data using Mahout. But is it possible to convert the RF created by R directly into a format that Mahout can use, for scoring?</p>
g13267
[ -0.006792882457375526, -0.061993300914764404, 0.02756844088435173, -0.07182911783456802, -0.004602550063282251, -0.02784734033048153, -0.06991243362426758, 0.014422240667045116, -0.0158233642578125, -0.030462969094514847, -0.02952582575380802, 0.01061283703893423, 0.038340289145708084, 0.0...
<p><strong>Contex</strong></p> <p>Multiple regression with continuous variables. </p> <p>Conventional statistical packages, e.g. SPSS, lm() in R, typically give me an <em>F</em> value, dfs, and a significance test on whether the model is performing well. I can also use ANOVA to compare whether one model is signific...
g58273
[ 0.05764001980423927, -0.062189072370529175, -0.006847767159342766, 0.030734864994883537, 0.00654588034376502, -0.016842378303408623, 0.0027441682759672403, 0.03305046260356903, 0.004342142026871443, -0.037528689950704575, 0.03512709587812424, -0.05055464431643486, 0.07460043579339981, 0.02...
<p>Is it possible to detect a periodic pattern in a time series using discrete Wavelet Transform?</p> <p>Is there any package in R to do this job?</p>
g58274
[ -0.012976031750440598, -0.0156051404774189, 0.00022700011322740465, -0.006765706930309534, -0.03327794745564461, -0.07641567289829254, 0.010024203918874264, -0.011661043390631676, -0.03224847838282585, -0.02919837087392807, 0.003352930536493659, 0.02486145682632923, 0.014177700504660606, 0...
<p>I have ad campaigns that I want to display to users. Each one has criteria a user must meet in order for them to be valid for the campaign. For example, "User must be in the USA", or "User must like the albums by at least one of the artists [The Beatles, Michael Jackson], AND user must be in USA". </p> <p>Right now...
g58275
[ -0.05293353274464607, 0.02290235087275505, -0.009708539582788944, -0.027244362980127335, -0.007154680788516998, -0.02104903571307659, 0.05160493403673172, 0.015763305127620697, 0.036017317324876785, -0.016538547351956367, 0.01755501888692379, 0.02041221596300602, 0.09137890487909317, -0.01...
<p>Does anyone know a good method to determine if clustering using kmeans is even appropriate? That is, what if your sample is actually homogenous? I know something like a mixture model (via mclust in R) will provide fit statistics for the 1:k cluster case, but it seems like all of the techniques to evaluate kmeans req...
g13272
[ 0.0023778306785970926, -0.04928893595933914, 0.014689887873828411, -0.008445908315479755, 0.0002576362749096006, -0.047223109751939774, -0.01979963481426239, 0.038868874311447144, 0.0047437106259167194, 0.011635192669928074, 0.05584884062409401, -0.023764530196785927, 0.057899098843336105, ...
<p>Suppose that when making a histogram, one encounters a datum at a bin boundary. Is there a convention on how to round it? For example, suppose my data are integer percentages, running from 0% to 100%. I want to make a histogram with boundaries at 10%, 20%, etc. Of course I could label the histogram in a way to a...
g13273
[ 0.0031825557816773653, 0.02368277497589588, 0.003926970064640045, -0.10571610182523727, 0.02598549984395504, 0.004503604490309954, 0.026847096160054207, 0.006530385930091143, -0.07179086655378342, -0.050650618970394135, 0.032707031816244125, 0.04248727113008499, 0.06402122229337692, 0.0047...
<p>I am trying to fit a time series model to the following data. It seems to be seasonal. Would an ARIMA model be good?</p> <p><img src="http://i.stack.imgur.com/7LaZu.jpg" alt="enter image description here"> Here is the data:</p> <pre><code>Count </code></pre> <p>2 1 4 5 4 8 7 11 4 4 11 7 10 7 0 19 13 13 11 9 8 16 ...
g46454
[ 0.042531415820121765, 0.009702278301119804, 0.02167554199695587, -0.04380056634545326, -0.049361418932676315, 0.02995765581727028, 0.04513586312532425, -0.01616501808166504, -0.030141806229948997, -0.008930820971727371, 0.040100667625665665, 0.0016751051880419254, 0.07603956013917923, -0.0...
<p>I found this preprocessor where they had the data log transformed with $log_{10}(100+data)$. I am not sure what this log transformation exactly does. Any suggestions?</p>
g47294
[ 0.009310012683272362, 0.032596394419670105, -0.0038427035324275494, -0.08825210481882095, 0.011678076349198818, -0.0451514832675457, 0.05917324498295784, 0.01822257973253727, -0.009176735766232014, -0.08680083602666855, -0.10352497547864914, 0.031354013830423355, 0.060105402022600174, -0.0...
<p>I have a random forest regression model with 1000 trees, having 16 parameters (using python scikit-learn). The estimator can predict a target value with cross validated r2 score of 0.87 +/- 0.03. I would like to find the global (or at least close to global) maximum of the random forest, in order to identify the best...
g13275
[ 0.008667053654789925, -0.016697987914085388, 0.025928882881999016, -0.023835191503167152, 0.029823800548911095, -0.005570972803980112, -0.04596354067325592, 0.03987976908683777, -0.029115542769432068, 0.05428708717226982, -0.03276801109313965, 0.0038502232637256384, 0.013301276601850986, -...
<p>I used nlm function in R to do the optimization. When I calculated the correlation between estimated parameters using the inverse of Hessian matrix, I got negative values on the diagonal. My questions are what could be the reason for that issue, and what could be possible solution?</p>
g58276
[ 0.04158351197838783, -0.043698132038116455, 0.006122502963989973, -0.07059653848409653, 0.008904332295060158, 0.0017296347068622708, 0.024753086268901825, 0.012221906334161758, -0.06956334412097931, -0.019452489912509918, -0.022168276831507683, 0.024276720359921455, 0.03070191666483879, 0....
<p>I have just started reading about Latent Dirichlet Allocation LDA and want to apply it to my project.</p> <p>May I know if LDA is able to assign a topic to more than one word?</p> <p>For example, Article A talks about "river banks" while Article B talks about "The role of banks in finance". Hence, will LDA allow t...
g58277
[ 0.024969831109046936, 0.023982664570212364, 0.02936984971165657, -0.06803432106971741, 0.015153305605053902, -0.01745305396616459, -0.015289826318621635, 0.023780614137649536, -0.015975138172507286, -0.01598009653389454, -0.02202834002673626, -0.028616275638341904, 0.021701470017433167, 0....
<p>We are attempting to create a US heatmap using only zipcode and corresponding values using R. While there are a number of examples that use lat and long data for creating such maps, is there one that will accept zipcodes and colour the corresponding regions on a map ? Preferably using some package that will produce ...
g58278
[ 0.035363346338272095, -0.02615906484425068, -0.008004264906048775, -0.03828147053718567, -0.017089324072003365, -0.009516675025224686, -0.04367915168404579, 0.029500307515263557, -0.05357855185866356, -0.0018685652175918221, 0.06775860488414764, 0.020939452573657036, 0.11176963895559311, 0...
<p>I am ust a little bit confused about whether I should use a scatter plot or a 2D histogram to fit a mixture of Gaussians.</p> <p>The problem is I have intensities from one image with 2 channels. For example, a RGB image but using just Red and Green channels. Then I plot the scatter plot and try to do a mixture of G...
g13279
[ 0.024975264444947243, -0.007015943061560392, 0.010739472694694996, -0.07359632849693298, -0.04086259379982948, 0.052152324467897415, -0.011257173493504524, 0.001759182196110487, -0.026263006031513214, -0.05369938537478447, 0.07078485935926437, 0.022368622943758965, 0.024758033454418182, -0...
<p>The general problem is that I have an calculated variable that represents agreement across parts. The variable is a summation in the form (part/count of parts)^2 for possible parts. The summation variable is between 0 and 1. How would I go about testing for significant differences between calculated part agreement f...
g58279
[ 0.004225840792059898, -0.017957033589482307, -0.0023433484602719545, -0.02586166001856327, -0.0316108763217926, -0.02023625187575817, 0.012363892048597336, 0.023617727681994438, -0.008085189387202263, 0.008332211524248123, 0.019818326458334923, 0.026260487735271454, -0.029019305482506752, ...
<p>So this is really difficult for me, but I would like to know if this is possible.</p> <p>Let's assume I have an unfair coin (absolutely no assumptions can be made about the coin), and my past result has been <code>T-T-T-H-T-H-T-T-T</code> and I want to predict the the result of the next toss. In a way that let me f...
g13281
[ 0.019640158861875534, 0.028275076299905777, 0.01987607032060623, -0.08608066290616989, -0.0038238773122429848, -0.05179392918944359, -0.017877506092190742, -0.03436433523893356, -0.04239846393465996, -0.028427470475435257, -0.013123072683811188, 0.04269339144229889, 0.017864638939499855, -...
<p>Following are similar to but different from previous posts <a href="http://stats.stackexchange.com/questions/84216/correspondence-between-moment-generating-functions-and-distributions">here</a> and <a href="http://stats.stackexchange.com/questions/25010/identity-of-moment-generating-functions">here</a></p> <ol> <li...
g58280
[ 0.021910514682531357, -0.030215341597795486, 0.011280199512839317, -0.05412499979138374, 0.023420300334692, -0.01280173473060131, -0.02728358469903469, 0.018161611631512642, -0.051376160234212875, -0.002580330241471529, -0.03162208944559097, -0.014890667982399464, 0.004931624513119459, -0....
<p>In creating a content-based recommender, I have several binary measurements, combined with integer measurement values and I wish to compare the two vectors.</p> <p>For example, consider the following two users and traits t1 - t5, where the traits could be, for example:</p> <ul> <li>meets_requirement1</li> <li>meet...
g13284
[ 0.03413065895438194, -0.03575059026479721, -0.010326502844691277, -0.07241969555616379, 0.00706848967820406, 0.011960878036916256, 0.010438154451549053, -0.03872086480259895, -0.06693925708532333, -0.027216436341404915, -0.001942137023434043, 0.05193295329809189, 0.02845768816769123, -0.05...
<p>I have data in the form of timestamp,lat,long which is gps data for users. I'm new to data mining and want to understand how can I start clustering these data to understand more about it.</p> <p>Should I like build a matrix of one trajectory v/s the other based on some distance metric and then apply some clusterin...
g58281
[ 0.06468893587589264, 0.030845681205391884, -0.012479644268751144, 0.036385677754879, 0.022072356194257736, -0.0378631167113781, 0.020282430574297905, -0.005788266658782959, -0.017374910414218903, -0.04213107377290726, 0.031047340482473373, 0.021535316482186317, 0.13087604939937592, -0.0361...
<p>I am analyzing some time course data in which I have set up a GLM using R for each subject. Each GLM I want to run is an attempt to extract estimates of different behavioral conditions effects on the time series, and each GLM is all within a single individual. </p> <pre><code>glm(dilation~happy+fear+neutral+post_de...
g13286
[ 0.03075665421783924, -0.05066823214292526, -0.0005698402528651059, 0.010197550989687443, 0.010149357840418816, -0.014954443089663982, 0.009496293030679226, -0.01404186338186264, -0.037917036563158035, -0.015223485417664051, 0.020838316529989243, 0.039218977093696594, -0.008139590732753277, ...
<p>I would like to generate a random number from a piecewise exponential distribution. I consider that the time-scale is divided in $J$ intervals with bounds $(s_{j-1},s_j]$, for $j=1,...,J$, and corresponding rates $\lambda_j$.</p> <p>Considering the memoryless property of the standard exponential distribution, is it...
g13287
[ -0.008892152458429337, -0.025636175647377968, 0.007066863123327494, -0.08407672494649887, -0.02094273641705513, -0.036079924553632736, -0.018467796966433525, 0.030107636004686356, 0.0014883625553920865, 0.017248520627617836, -0.003750246949493885, -0.016583191230893135, 0.055062320083379745,...
<p>I've made several biochemistry experiments, and in which I compare several groups to a control group. I want to compare the results of 8 such experiments, so basically I have 8 measurements in each group, but the measurements in the control group is all 100%. How do I compare them? I.e., I have four groups, the firs...
g58282
[ 0.008977224119007587, -0.054829780012369156, 0.007747428026050329, 0.004053154960274696, 0.06234143301844597, -0.04515217989683151, 0.006078940816223621, 0.004961831029504538, -0.016955630853772163, -0.015980057418346405, -0.017221849411725998, -0.00037498859455808997, -0.010401733219623566,...
<p>I have few questions that came up while I was trying to calculate post hoc power analysis for a regression model: </p> <ol> <li><p>I calculated post hoc power analysis for a regression model that produced a statistically significant (adjusted) R2 = .36 [F (2, 433) = 121.2, p &lt; .001]. N=405. Number of predictors=...
g58283
[ -0.006737740710377693, -0.04638500139117241, -0.014611643739044666, -0.024132702499628067, -0.01260976679623127, -0.04097041115164757, -0.03216118365526199, 0.053577970713377, -0.06214030459523201, -0.01801791787147522, -0.03405081480741501, -0.009721625596284866, -0.004509309306740761, 0....
<p>I am running a fixed effects regression in Stata: $y=\alpha+\beta D$ (omitting the FE), where $D$ is a dummy variable. Basically, I want the mean of group $D=0$ and of group $D=1$ after controlling for time invariant heterogeneity via fixed effects, along with their standard deviations. Stata reports coefficients an...
g2352
[ -0.027929270640015602, -0.06389933079481125, -0.014013119041919708, -0.018986830487847328, 0.00040056617581285536, -0.021914852783083916, 0.04281255230307579, 0.059621796011924744, -0.02338293194770813, -0.02992490492761135, 0.012748225592076778, 0.04806213453412056, 0.03530228137969971, 0...
<p>Initially things were done in a particular way (A) and I changed to in some key ways to do things a bit differently (B). Now I wish to evaluate whether the change was for the better. What tests can I do to validate this claim? I have historical and observational data for 3 years on each of the approaches. Which stat...
g13289
[ -0.0020057684741914272, -0.06328777223825455, 0.0011222229804843664, 0.0039320094510912895, -0.0030670268461108208, -0.0063727302476763725, 0.049908347427845, 0.0445246547460556, -0.005065149161964655, 0.025829825550317764, 0.030995763838291168, 0.03612086549401283, 0.0632767379283905, 0.0...
<p>I am developing a linear model with 13 variables, including the target variable (online purchase revenue for items). So, I first built model1 with regular variable and then build model2 after normalizing of the data. I have copied the coefficients for two models here :</p> <pre><code>Model1(Without Normalized Data)...
g42152
[ -0.015271265991032124, -0.08011051267385483, 0.007591896690428257, 0.005493548233062029, 0.011307643726468086, -0.024639904499053955, 0.00905939657241106, 0.0371866300702095, 0.01507185772061348, -0.016560934484004974, -0.0057510435581207275, 0.03322790563106537, 0.06674756109714508, -0.02...
<p>Although I read <a href="http://stats.stackexchange.com/questions/60500/how-to-find-a-good-fit-for-semi-sinusoidal-model-in-r">this</a> post, I still have no idea how to apply this to my own data and hope that someone can help me out.</p> <p>I have the following data:</p> <pre><code>y &lt;- c(11.622967, 12.006081,...
g13292
[ 0.01308127399533987, -0.050340231508016586, 0.0038907858543097973, -0.06346084922552109, 0.02787807397544384, -0.027533549815416336, 0.0719861164689064, 0.011046155355870724, -0.0048435344360768795, -0.014166696928441525, -0.025539221242070198, 0.03636717051267624, -0.0035788356326520443, ...
<p>I'm new to text mining and I'm not sure if could be applied here:</p> <p>I have labeled sentences but the words I work with are codes, so each word length ranges from 5 to 15 letters and there are only 4 different letters (A, B, C, D).</p> <p>Looks like this :</p> <pre><code>Sentence1: AAABCD BAAAA ABCCBAA CCCCC....
g58284
[ 0.006403600797057152, 0.01157162245362997, -0.013544316403567791, -0.05711168795824051, 0.044512905180454254, -0.0858287587761879, -0.038333069533109665, -0.00022192519099917263, -0.06169170141220093, -0.026835912838578224, -0.012166698463261127, 0.032895512878894806, 0.02477041259407997, ...
<p>I have an experiment with bacteria for which I measured growth curves of several bacterial clones in two different types of media (treat). I then extracted several growth parameters from the curves and am analysing one of these: lag phase (lambda). clone has 13 levels and treat has 2 levels. I now want to know, for...
g58285
[ -0.026172112673521042, -0.05104605108499527, 0.0048568760976195335, -0.01878352463245392, 0.0601729080080986, -0.04029158130288124, 0.021198296919465065, 0.01850355602800846, -0.037873875349760056, -0.025460194796323776, -0.014508469961583614, 0.04969879239797592, 0.04570022597908974, 0.05...
<p>Take a look at Table 1 on page 268 in <a href="http://www.math.ku.dk/~rolf/teaching/thesis/DixonColes.pdf" rel="nofollow">http://www.math.ku.dk/~rolf/teaching/thesis/DixonColes.pdf</a></p> <p>It says at the end of the previous page that the standard errors are computed "on the basis of an underlying multinomial mod...
g58286
[ 0.03462439775466919, -0.04825875908136368, -0.008968519978225231, -0.01702040620148182, 0.0034117656759917736, -0.029023658484220505, -0.027948860079050064, 0.018802935257554054, -0.039564214646816254, 0.032431166619062424, -0.016891131177544594, -0.003331908490508795, 0.03553914651274681, ...
<p>I am comparing multiple published equation forms, refit with independent data. I'm trying to be true to the original authors' methods as much as possible. Therefore, I have 3 linear equations (fit in R using lm()), two of which use transformed Y-variables, and one equation fit using nonlinear regression (fit in R u...
g58287
[ 0.006775356363505125, -0.09491504728794098, -0.010722297243773937, -0.007876391522586346, -0.05230757221579552, 0.010232686065137386, 0.02519999071955681, 0.013663718476891518, -0.06681802123785019, -0.0029306369833648205, 0.031064866110682487, 0.055090997368097305, 0.019606713205575943, -...
<p>I used MATLAB neural network toolbox to train a self-organizing map for a given data set. The obtained "weight-position" plot is given as follows. I do not think this plot looks good in comparison to the sample plot given in the <a href="http://www.mathworks.com/help/toolbox/nnet/ref/plotsompos.html" rel="nofollow"...
g42158
[ -0.0008132674847729504, 0.04230141639709473, -0.0006210432038642466, -0.02173963375389576, -0.04036295413970947, 0.0076903607696294785, 0.020091215148568153, -0.0036658989265561104, -0.07345890998840332, -0.00008466982399113476, 0.006224439479410648, -0.02131500653922558, 0.08338319510221481...