question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>Lets say I have a table with columns "A", "B"</p> <p>Is there a statistical method to determine if "A" causes "B" to happen? One can't really use Pearson's r, because:</p> <ul> <li>it only tests the correlation between values</li> <li>correlation is not causation </li> <li>Pearson's r can only correlate linear re...
g46728
[ 0.0916283056139946, -0.023349696770310402, 0.004213470034301281, -0.05428478121757507, 0.04088570177555084, -0.049943678081035614, 0.018735775724053383, 0.017463603988289833, -0.022133342921733856, -0.05254077538847923, 0.03681372478604317, -0.010659667663276196, 0.017285937443375587, 0.04...
<p>I am working on developing a logistic regression model that uses qualitative variables only ($n=990$). My remit is to define the equation that can identify the most relevant characteristics of a survey respondent that is favorable towards Company X. The proposed equation is similar to the following: \begin{align} {\...
g23441
[ -0.01802249066531658, -0.0035009831190109253, -0.01365597639232874, -0.019212983548641205, -0.014716188423335552, -0.04351993277668953, -0.009174046106636524, -0.030362479388713837, 0.005344546865671873, -0.018500274047255516, -0.02433755062520504, -0.004877690225839615, 0.038428690284490585...
<p>I have a dataset spanning several years, that I have analysed year by year (using the same glmm model code) to determine whether the random effect (random intercept) has altered over time. I have found that it has altered. Now I am concerned that the fixed effects have also altered, which may mean that I can't compa...
g23442
[ 0.029592951759696007, -0.057467371225357056, 0.002685832092538476, -0.033802732825279236, -0.027470111846923828, 0.050528377294540405, 0.06081547960639, 0.01719367690384388, -0.047074440866708755, -0.014345765113830566, 0.017212044447660446, 0.04363705590367317, 0.0029100440442562103, 0.00...
<p>This is more of a data management question.</p> <p>When merging several waves of a survey where the same questions were asked in multiple years -- but each time of a new sample -- should the data from a question be merged into the same variable or separate variables?</p> <p>Since each wave was administered to a ne...
g43286
[ 0.0042359004728496075, 0.0005618611467070878, 0.033674705773591995, -0.006835502106696367, -0.019314872100949287, 0.022260509431362152, -0.003624349134042859, -0.015389048494398594, 0.04851791635155678, -0.03168340399861336, 0.014590105041861534, -0.0045326342806220055, -0.03915701434016228,...
<p>I'm fairly well acquainted with using <a href="http://en.wikipedia.org/wiki/Reservoir_sampling" rel="nofollow">Reservoir Sampling</a> to sample from a set of undetermined length in a single pass over the data. One limitation of this approach, in my mind, is that it still requires a pass over the entire data set befo...
g65038
[ -0.03892205283045769, -0.037086229771375656, 0.008920710533857346, -0.06939756125211716, -0.03991560637950897, -0.06171762943267822, 0.0158784668892622, 0.00655078049749136, -0.04422537982463837, -0.006466540042310953, 0.03407049551606178, -0.04562259092926979, 0.020754439756274223, 0.0221...
<p>So, I'm working with GWAS SNP data and want to perform several tests for association between genotype and phenotype. There are two phenotypes (case and control) and 2 or three genotypes. Most of them are Chi-squared tests with different contingency tables, $2 \times 2$ or $2 \times 3$, one of them is the Cochran-Arm...
g65039
[ 0.026511546224355698, 0.0027244649827480316, -0.016330450773239136, -0.05302061513066292, 0.05026661232113838, -0.04412185773253441, 0.04910895228385925, 0.03603542968630791, -0.06317702680826187, 0.002273476915434003, -0.04013660550117493, 0.028836851939558983, 0.03157251700758934, 0.0108...
<p>Under the null, the p-value is uniformly distributed between 0 and 1. Taking the negative of the log base 10 of many such p-values should follow an exponential distribution. You can show quantiles of their distribution under the null, but more importantly, logging them makes large differences very compelling. I can'...
g26106
[ -0.01633978821337223, -0.011356217786669731, -0.04217216745018959, -0.06389345228672028, -0.04685350880026817, -0.0692959725856781, 0.04348047077655792, -0.04375746473670006, -0.04184185341000557, -0.031615253537893295, -0.025259943678975105, 0.022639062255620956, 0.07528963685035706, -0.0...
<p>I have a so so sized data set - 30 000 observations. I would like to run K-means on them but to restrict the center(mean) of the data. This is, I would like to push the clusters away from this mean. As I have noticed that independantly of the # of clusters, one ends up landing right on top of the mean of all the var...
g23448
[ -0.06529213488101959, 0.05743870884180069, -0.003460874781012535, -0.04192892462015152, -0.0462326817214489, 0.0033907198812812567, -0.026711560785770416, -0.028348403051495552, -0.017106052488088608, -0.049631908535957336, 0.0570954829454422, 0.039915382862091064, 0.03024710901081562, 0.0...
<p>I'm trying to approach the following problem: Danny &amp; Johnny are professional basketball players. Each day they meet, and play for a while. Whoever scores the most points is declared winner for the day, and wins a dollar. After a year of games, we are given a vector (including 365 elements) representing, say, Da...
g65040
[ 0.003594357054680586, -0.015582253225147724, 0.008323193527758121, -0.022967105731368065, -0.07510321587324142, -0.051228735595941544, 0.035608746111392975, -0.03331778198480606, -0.029529351741075516, 0.0005962754366919398, 0.017773449420928955, 0.00011709010868798941, 0.05441393330693245, ...
<p>Sorry for the (most likely) simple question, but I have Box Cox transformed my data in SAS, but I am unsure how to use the transformed data in my mixed model. Do I output it to a new file, and use that in my model statement, or do I need to incorporate the proc transreg statement into my proc mixed? Details are ap...
g65041
[ -0.00363039318472147, -0.04744820296764374, 0.01884830929338932, -0.04552678391337395, 0.03629368171095848, 0.006162308156490326, -0.024445148184895515, -0.0005738193285651505, -0.025929506868124008, -0.0668136477470398, -0.013590389862656593, -0.055262330919504166, 0.07528728246688843, -0...
<p>In one of the paper I am writing, I am looking at cross-validation on bootstrap samples. I wrote the following explanation.One of the reviewer wrote that he didn't understand where is the correlation. I don't know how to explain better. So I was wondering if someone has a reference I could cite about this issue when...
g65042
[ -0.002038967330008745, 0.043539807200431824, 0.03244846314191818, -0.023051928728818893, 0.06164992228150368, 0.03494785726070404, 0.0476151667535305, 0.011002814397215843, -0.05003436282277107, -0.023084022104740143, 0.030889708548784256, 0.030221182852983475, 0.008114483207464218, 0.0027...
<p>This is a problem of classification. If I have 100 training data of category A and there are some features in A. Suppose feature 1 always shows up with category A. But there is only one training data for category B, with feature 2 in it. We also have many data for category C. Feature 1 and feature 2 never show up in...
g23453
[ 0.011357397772371769, 0.0070725190453231335, 0.01890641450881958, -0.052866384387016296, 0.016407707706093788, 0.006248456425964832, 0.036625780165195465, 0.07914148271083832, -0.05841163918375969, -0.04672502726316452, 0.008084984496235847, 0.05287913233041763, 0.05297982692718506, -0.014...
<p>Addition, subtraction, multiplication and division of normal random variables are well defined, but what about trigonometric operations?</p> <p>For instance, let us suppose that I'm trying to find the angle of a triangular wedge (modelled as a right-angle triangle) with the two catheti having dimensions $d_1$ and ...
g49835
[ 0.04637373983860016, -0.0064983428455889225, -0.007548423949629068, -0.03684604912996292, 0.002888690447434783, -0.010246355086565018, 0.05078510195016861, -0.004362065345048904, 0.002478458220139146, -0.015692533925175667, 0.02651972882449627, -0.02172917127609253, 0.06358993053436279, -0...
<p>I have data that have been collected using case-control procedures, in which the population of positive cases is collected with a random sample of negative cases. This yields 62 positive cases and 179 controls. There are 58 possible predictor variables (mostly numeric, two factors).</p> <p>My goal is not classifica...
g23455
[ 0.024426737800240517, -0.023312734439969063, 0.01890314742922783, -0.0194572601467371, 0.013476249761879444, -0.060270052403211594, -0.0032604217994958162, 0.020109262317419052, 0.024194009602069855, -0.020559275522828102, 0.022631756961345673, -0.006443424616008997, 0.02403496950864792, 0...
<p>I'm trying to write an R script to simulate the repeated experiments interpretation of a 95% confidence interval. I've found that it overestimates the proportion of times in which the true population value of a proportion is contained within the sample's 95% CI. Not a big difference - about 96% vs 95% but this inte...
g43294
[ 0.04958580061793327, -0.023645341396331787, -0.006987454369664192, -0.018084833398461342, -0.0066351755522191525, -0.00006578614556929097, 0.043622490018606186, 0.023713279515504837, -0.0263966154307127, 0.02117382362484932, 0.03207627311348915, -0.0024408132303506136, -0.020124008879065514,...
<p>I created a poll on a sports forum asking people how they think their favorite NBA team did this off-season. The poll options were: Top 10, Middle 10, Bottom 10. I expect dozens of people to respond, which isn't a huge sample.</p> <p>The hypothesis I'm testing (unbeknownst to the voters) is that there will be a "ho...
g65043
[ -0.014755125157535076, -0.014524510130286217, -0.0041663567535579205, -0.06482509523630142, -0.0065536582842469215, 0.025180291384458542, 0.02091277576982975, -0.00987873412668705, -0.02647586166858673, 0.023614365607500076, -0.014020600356161594, 0.04854656010866165, 0.046986836940050125, ...
<p>This is my first question on stackexchange and also my first time implementing a Bayesian network so I will apologize ahead of time for any novice mistakes I make.</p> <p>The goal of my project is to implement a Poker player that does Bayesian inference. There has been some work done on this by a group at Monash Un...
g65044
[ -0.02367587946355343, 0.030786484479904175, 0.01372827310115099, -0.01158884447067976, -0.009039903059601784, -0.04360528290271759, -0.006546618416905403, -0.0012526183854788542, -0.06382746994495392, -0.03150618448853493, 0.0479460246860981, 0.04741644114255905, 0.004419633187353611, 0.00...
<p>A response variable y is a nonlinear function of a number of predictor variables X (in my real data the response is binomially distributed, but here I'm using a normally-distributed value for simplicity). I can model the relationships between the predictors and the response using splines / smooths (for example, GAM ...
g43300
[ 0.009289738722145557, -0.05987930670380592, -0.0049499101005494595, -0.02798130363225937, -0.0029030709993094206, -0.050560496747493744, 0.025089187547564507, -0.011291122063994408, -0.07264569401741028, 0.006219260394573212, 0.011721773073077202, -0.0083963917568326, 0.09116131067276001, ...
<p>I have 2 sets of brand preference data (in %) to measure impact of online advertising on target group F20-40 years i.e., 1.different time period (pre/post - not same consumers but same target group) &amp; 2. Control (not seen online advertising) vs Exposed (exposed to advertising). Could you suggest what statistica...
g40913
[ -0.05013703927397728, -0.02076754719018936, -0.0006607046234421432, 0.009542896412312984, -0.04908231645822525, 0.023601245135068893, 0.07738786190748215, 0.008174736052751541, 0.04720943793654442, 0.017947666347026825, 0.05644673854112625, 0.043601445853710175, 0.0041374447755515575, 0.06...
<p>I had asked a general question about conditional inference trees via party a while <a href="http://stats.stackexchange.com/questions/12140/conditional-inference-trees-vs-traditional-decision-trees">back</a> and gotten a great reply.</p> <p>I am revisiting this procedure and trying to make sense of the linear statis...
g43302
[ 0.06851265579462051, -0.02955884300172329, -0.015337252989411354, -0.042437776923179626, 0.030951935797929764, -0.05400439351797104, 0.006026190239936113, 0.035427335649728775, -0.04011252894997597, -0.022723078727722168, -0.010461049154400826, 0.014157821424305439, 0.027873121201992035, 0...
<p>I have some models built with the <code>auto.arima</code> function from the <code>forecast</code> package. I'm modeling a variable called 'natural efluent energy' (ena), which is how much energy you can extract from some Hydrography region. There are 2 regressor variables (rainfall precipitation from period $t$ and ...
g46575
[ -0.009112300351262093, -0.08466998487710953, -0.026309287175536156, -0.0009523920016363263, 0.052108459174633026, -0.017379283905029297, -0.022990480065345764, 0.015164796262979507, -0.05865932255983353, 0.013375971466302872, 0.0003426220209803432, 0.051493074744939804, 0.08091102540493011, ...
<p>I intend to use factor scores as derived from exploratory factor analysis in subsequent multivariate regression analysis, as an explanatory variable.</p> <p>I've read in multiple books/papers that Structural Equation Modeling is the appropriate method to model relationships AMONG LATENT VARIABLES (using factor scor...
g49552
[ 0.03739238530397415, -0.01854979246854782, 0.006343183107674122, -0.0315927192568779, 0.02289208024740219, -0.02374916523694992, 0.03610225021839142, 0.01884501241147518, 0.03412649780511856, -0.05812471732497215, -0.0028809059876948595, -0.009424093179404736, 0.005598783027380705, 0.01487...
<p>I intend to do an exploratory factor analysis among items that have different types of measurements: for example, some items have bounded scales (1-100%), some items take small and other large values (different units indeed, such as dollars or hours).</p> <p>I've been reading a lot and haven't found a negative answ...
g65045
[ -0.009237118996679783, 0.07645546644926071, -0.025240391492843628, -0.01774379052221775, 0.015697436407208443, -0.02307961694896221, 0.010878491215407848, -0.061407096683979034, -0.00340544362552464, -0.006028474774211645, -0.03548150137066841, -0.007578947115689516, 0.02636970579624176, 0...
<p>I am using stochastic gradient descent to learn a model. Here is the plot of the objective function for the iterations. I am trying to maximize the function value.</p> <p><img src="http://i.stack.imgur.com/3Eq3T.jpg" alt="enter image description here"></p> <p>Taking the average of 500 iterations, I have this next ...
g23461
[ 0.019623298197984695, -0.032181914895772934, 0.009943013079464436, -0.009147798642516136, 0.006052698008716106, 0.02090681530535221, -0.01670728623867035, 0.011355808936059475, -0.0581074059009552, 0.04165318235754967, -0.02415311522781849, 0.04328135401010513, 0.04733817279338837, 0.03953...
<p>In case of <em>caret</em> package test function metric option, one can use either accuracy or ROC as a metric that will be used to finalize values of tuning parameters. I felt that accuracy and ROC are the same</p> <p>Accuracy = total correct predictions/total samples</p> <p>ROC= looks at various probability cutof...
g65046
[ -0.009608886204659939, -0.05466017127037048, -0.0033026584424078465, 0.004637458361685276, 0.033771757036447525, -0.014866693876683712, 0.04951129108667374, -0.0117372190579772, -0.05016099289059639, -0.018670594319701195, 0.005070874467492104, -0.011949006468057632, 0.052089594304561615, ...
<p>I'm using G*Power to work out how many participants I need. I'll be using a MANOVA, I have two independent variables (Male and Female) and they will be answering 13 different questionnaires so 13 dependent variables. I put this data into G*Power and its telling me I only need 14 participants but I think that is too...
g65047
[ -0.06088744476437569, 0.06133894622325897, 0.007917570881545544, -0.05291839689016342, -0.02003745548427105, -0.02211041934788227, -0.009074170142412186, 0.01901877112686634, -0.041916970163583755, -0.00027510643121786416, 0.01847408153116703, -0.02124340645968914, -0.04926396161317825, 0....
<p>I have to regress the mortality rate which is in number of deaths per thousand and percentage of vaccinated people. Have sample data for different districts. Can I use linear regression directly. The sample sizes are different for different districts. Please suggest the appropriate method. </p>
g65048
[ 0.02337297797203064, -0.04833449795842171, 0.006836474873125553, -0.012227960862219334, 0.015471125021576881, -0.019218724220991135, -0.030373558402061462, 0.006181108765304089, 0.020979082211852074, -0.022380627691745758, 0.05986308306455612, 0.018620643764734268, 0.05717846006155014, -0....
<p>In a manufacturing program I am collecting the estimated time required and the actual time taken for a series of tasks.</p> <p>Suppose I find that I often take twice as long, say, as I originally estimated for each task, I want to apply a typical difference between estimated and actual time taken to future planned ...
g65049
[ 0.017801275476813316, -0.011162896640598774, -0.002967825159430504, -0.03706595301628113, -0.0959927961230278, -0.017050975933670998, 0.04823990538716316, 0.04434257000684738, -0.029319733381271362, -0.004043115768581629, -0.04720401391386986, -0.018681468442082405, 0.05025982856750488, 0....
<p>In designing a email test, I have three binary factors (each have two levels, say low-high). Our customers are divided into 5 non-overlapping groups.</p> <p>Is it best to run a randomized block design, blocking out the customer groups (5 blocks, 2^3 factorial) or use the customer groups as an actual 5-level factor?...
g65050
[ -0.003867523279041052, 0.07060335576534271, 0.02237190119922161, -0.02985990419983864, 0.0021250611171126366, -0.03425394371151924, 0.05261315405368805, -0.015622805804014206, -0.03079386055469513, -0.024458227679133415, 0.03748908266425133, 0.043689288198947906, -0.019934924319386482, 0.0...
<p>I have built a cox proportional hazards model in the R survival package. I want to score new data set using this model. I thought the survfit function would doing this using survfit(original model, newdata), but it only seems to predict only the outcomes for the original data, not the original model using the new ...
g65051
[ 0.014414024539291859, -0.10409253090620041, 0.013715154491364956, 0.022853128612041473, -0.007511800155043602, 0.01565357856452465, -0.06211370229721069, 0.007168921642005444, -0.054125264286994934, -0.07097624987363815, 0.008403926156461239, -0.012127655558288097, 0.09216346591711044, -0....
<p>I want to determine a number of clusters, but I don't know how to do it. I want to use kmeans and select a number of cluster with minimum variance or with a maximum jump in variance. I plot variance; how can I do it with programming (Java)?</p>
g65052
[ -0.034581538289785385, 0.0222389567643404, 0.003538948018103838, 0.004445674829185009, -0.020435715094208717, -0.06493941694498062, -0.015610446222126484, 0.0037707514129579067, 0.013318033888936043, -0.04513409361243248, -0.014501306228339672, 0.011760297231376171, 0.048424918204545975, 0...
<p>I am fitting a series of Bayesian spatial models with an intrinsic conditional autoregressive (iCAR) structure. In these models, I begin by fitting an empty model (null) and then add successive sets of covariates based on a conceptual foundation.</p> <p>I then map quantiles of the mean posterior spatial random effe...
g4888
[ 0.032477520406246185, -0.015954939648509026, -0.01775199919939041, -0.05904794856905937, 0.010262353345751762, 0.0368528813123703, 0.04039581120014191, 0.04512663558125496, 0.01788865402340889, -0.023059608414769173, 0.021797385066747665, -0.01987413503229618, 0.05789869651198387, 0.034585...
<p>I am thinking about a problem which is to predict log(spend) of a customer using linear regression.</p> <p>I am considering what features to use as input and wondering if it would be OK to use the percentile of a variable as inputs.</p> <p>For example I could use the companies revenue as a input. What I'm wonderin...
g446
[ 0.006459525786340237, 0.000704165839124471, 0.009014115668833256, -0.027240775525569916, -0.03139641880989075, -0.05212772637605667, 0.02338707260787487, -0.017890438437461853, -0.037602633237838745, 0.021081333979964256, 0.05725196376442909, 0.02155090495944023, 0.04862673208117485, 0.006...
<p>I am wondering somebody here may provide a formula or source for calculating Wilson score confidence interval of difference of two proportions (namely CI for p1-p2). It seems most available web sources are for one sample proportion. Thanks in advance</p>
g49716
[ 0.03404468670487404, -0.03825574368238449, -0.013645154424011707, 0.007249943446367979, 0.010391203686594963, 0.033030666410923004, 0.03167944401502609, 0.024027857929468155, -0.007634473033249378, 0.007399674039334059, 0.013502848334610462, 0.007412631995975971, -0.015503747388720512, -0....
<p>I have been asked whether there is any relationship between two variables $X$ and $Y$. I have done a simple regression and the confidence intervals suggest a small significant relationship. However, these variables are nonnegative and most of the points are "close" to (0,0) --- in the sense that in a graph of the po...
g65053
[ 0.0511927530169487, -0.025101348757743835, -0.02336173690855503, 0.0022433314006775618, -0.007462026085704565, -0.021716283634305, 0.01660509780049324, -0.03248554468154907, -0.023352181538939476, -0.03229162096977234, 0.03422241285443306, 0.02898421511054039, 0.03254275768995285, 0.034653...
<p>If I have the following contingency table in which <code>Novel.Cat</code> is a new means of classifying some thing. <code>Ref.Cat</code> is the gold standard. How can I do some sort of test to see whether the two means of classification generate significantly different results? Is just a simple Fisher's test appropr...
g43338
[ -0.0014823548262938857, -0.010201924480497837, 0.0018523243488743901, -0.06469711661338806, 0.08048804849386215, -0.029248403385281563, -0.02237538807094097, 0.042477019131183624, -0.04473351314663887, 0.029399072751402855, -0.0047216457314789295, 0.07233971357345581, 0.027558404952287674, ...
<p>I am training a Gaussian process with an ARD kernel with lots of parameters by maximizing the marginal lielihood of the data, instead of cross-validation. </p> <p>I suspect that it is over-fitting. How can I test this suspicion in a Bayesian context?</p>
g23474
[ 0.04680504649877548, 0.008759653195738792, -0.004178369417786598, -0.05087842047214508, -0.01709744706749916, 0.007449695840477943, 0.014081030152738094, -0.005793498829007149, -0.04954862594604492, 0.030424855649471283, 0.02242247574031353, 0.04123345762491226, 0.02228263020515442, 0.0502...
<p>Consider the following code/output:</p> <pre><code> library(ordinal) clm(as.factor(y)~x, link="probit", data=data) 0|1 1|2 2|3 x 59.5369 90.9923 112.1025 138.1162 data x y 1 0 2 0 3 1 4 1 5 2 6 2...
g65054
[ -0.014498069882392883, 0.016678322106599808, -0.005734371952712536, -0.05707589536905289, 0.05482129380106926, -0.01606753282248974, 0.04803456366062164, 0.02570304647088051, -0.02684391289949417, -0.00582872424274683, -0.05766904354095459, 0.05991725996136665, 0.015145129524171352, 0.0016...
<p>Are Probability Graphic Models (say specifically Bayesian Networks) useful for predictive modelling in terms of large data (100,000 - 1,000,000 rows) and many variables (hundreds)? </p> <p>Meaning, is this technique / methodology something that can be a competitor for, say random forests or some machine learning me...
g65055
[ -0.026812514290213585, 0.038118354976177216, 0.026328688487410545, -0.05553320795297623, -0.0450393483042717, -0.06781814247369766, -0.005976163316518068, 0.017900386825203896, 0.014326825737953186, -0.04079270735383034, 0.05039654299616814, -0.012402010150253773, 0.09781353920698166, 0.01...
<p>In a multiple logistic regression I need to standardize one of the variables because I need to add a quadratic term. Whether I add the quadratic term as the squared original or the squared standardized, I get very similar models, same AIC. Why? The estimates of the linear term change. When I square a standardized v...
g23475
[ 0.033918045461177826, -0.043558552861213684, 0.015158618800342083, -0.009491682052612305, 0.02481965161859989, -0.034489355981349945, -0.027843154966831207, 0.046880412846803665, -0.037269383668899536, -0.013464602641761303, -0.0029997669626027346, 0.008719193749129772, 0.06230878457427025, ...
<p>I have a table of <code>mRNA</code> levels of my target gene and it's transcription factors in many different condition. What I want to do is to select the most important conditions and most important transcriptional factors. I used <code>glm</code> in <code>R</code> but I am stuck at the point that I can't extract ...
g65056
[ -0.0006917018326930702, -0.006121512968093157, 0.005076169036328793, -0.0586002841591835, 0.053895074874162674, -0.042114920914173126, 0.004257252439856529, -0.0008963876171037555, -0.03972844034433365, 0.02683067135512829, 0.019884571433067322, 0.02434459701180458, 0.05155491828918457, -0...
<p>I am looking at some software code that performs conditioning on random variables. For example, one can have a set of random variables which have a multivariate normal distribution associated with them and then you can condition on a given variable to take on a certain value and then get the associated conditional d...
g65057
[ 0.07169565558433533, -0.03088819980621338, 0.005522384773939848, -0.030628468841314316, -0.008585489355027676, -0.020605534315109253, 0.03359419107437134, 0.03982483223080635, -0.028775274753570557, -0.06869709491729736, 0.050048235803842545, -0.026206038892269135, 0.030689872801303864, 0....
<p>I'm trying to illustrate the CLT with scilab but my results are weird.</p> <p>Did I make a mistake ?</p> <pre><code>function res = simul_ber(m,n,p) // creates a vector simulating a binominal law with parameters n p res = grand(1,m,"bin",n,p) endfunction function clt_binom(m,n,p) clf() v = ones([1:m]) histplot(flo...
g65058
[ 0.02146708406507969, 0.0433526411652565, -0.0011751253623515368, -0.006751411594450474, 0.03194289281964302, 0.014031932689249516, 0.0304323211312294, -0.06077942997217178, -0.08081327378749847, -0.017590966075658798, -0.03198857232928276, 0.042666830122470856, 0.008736818097531796, -0.038...
<p>I have 31 numeric variables (e.g., A-AF) for which I am attempting to identify the smallest subset of those variables that will predict the values of the remainder of the variables with a CI of 90% or greater.</p> <p>For example, I would like end up with a model in which the values of variables A, B, C, D, and E, t...
g23477
[ 0.03296946734189987, -0.0753260925412178, -0.018474295735359192, 0.009366924874484539, 0.009029382839798927, -0.07411789894104004, 0.01646476238965988, 0.006287408992648125, -0.030603760853409767, -0.026509108021855354, 0.03269258886575699, -0.002671047579497099, 0.04182170704007149, 0.016...
<p>First post here; first I would like to say that I have no background in stats whatsoever and not so much in math either (enriched high school math, and that's it).</p> <p>I started an MA and we have to do a meta-analysis; we've also been reading a lot of publications with effect sizes. </p> <p>I checked Wikipedia'...
g23478
[ 0.00544732715934515, 0.0436127707362175, -0.0018098086584359407, -0.044685013592243195, -0.021939612925052643, -0.0308732558041811, 0.03623029962182045, 0.017974816262722015, 0.0011934902286157012, -0.021450692787766457, -0.008823213167488575, 0.02433449774980545, 0.09079621732234955, 0.03...
<p>On the back of an earlier question i am having an issue.</p> <p>Software = SAS JMP Pro 11</p> <p><a href="http://stats.stackexchange.com/questions/88573/can-i-use-rotated-pca-factors-to-make-models-and-then-subsitute-these-back-to-my">Earlier Question</a></p> <p>My rotated factors (post Principal Components Analy...
g65059
[ 0.013410240411758423, -0.07093928009271622, 0.015804415568709373, -0.0653863251209259, 0.028988411650061607, -0.019328312948346138, 0.08152387291193008, -0.005752403289079666, -0.009364931844174862, -0.03923272341489792, 0.015843264758586884, 0.03178136423230171, -0.013393671251833439, -0....
<p>How can a probability distribution P not factorize over a graph H when P satisfies the all the global independencies implied by H?</p> <p>Here's an example: Let $X_1, \dots X_4$ be 4 random variables that can take on 0 or 1. The graph $H$, is a circle: $X_1 \rightarrow X_2 \rightarrow X_3 \rightarrow X_4 \rightarro...
g65060
[ 0.008427402004599571, 0.028964420780539513, -0.0056691039353609085, 0.0017144992016255856, 0.03376881405711174, -0.028339127078652382, 0.05307580158114433, 0.013637441210448742, -0.024093562737107277, -0.013964787125587463, 0.002712187822908163, -0.0016309506027027965, 0.008384735323488712, ...
<p>I have performed a clustering on 20K genes, and I want to understand how coherent resulting clusters are by calculating the significance of the overlap of the clusters with a number of known GO gene categories. I use hypergeometric p-values for this purpose, and I also want to correct for multiple testing using Bonf...
g65061
[ 0.02622796781361103, 0.05077163875102997, 0.006056807469576597, -0.022310771048069, 0.028604133054614067, -0.0021914527751505375, 0.05035999417304993, 0.0806291252374649, -0.035076502710580826, 0.03715169057250023, -0.041795514523983, 0.01196306198835373, 0.03776589408516884, 0.05002178624...
<p>i have a fitted a classical Poisson regression model to my 584 claim frequency data set for a period of 5 years (panel data)i have found out that predictors area,age and make of vehicle are siginificant (preferred model).Other predictors are age and gender of insured and cc of car. Now i want to fit a Poisson rando...
g23482
[ -0.018809741362929344, -0.04731328412890434, -0.015421205200254917, -0.06775002926588058, -0.009517735801637173, 0.018695075064897537, -0.019003568217158318, 0.001254129339940846, 0.004725826904177666, -0.04898890107870102, 0.018131868913769722, 0.019991662353277206, -0.016433067619800568, ...
<p>The term forward model comes up a lot when reading about Bayesian modelling. I am yet to understand what exactly is the forward model? Is it the model that describes the output/observed variable and the inverse model is that given the observation, what is the underlying model that explains this observation?</p>
g65062
[ -0.012203415855765343, -0.019571082666516304, 0.006834588944911957, -0.04489236697554588, -0.019963672384619713, 0.05247746780514717, 0.03227254003286362, 0.04650450497865677, -0.039576150476932526, -0.038797684013843536, 0.008928800001740456, -0.004372448194772005, 0.07732255756855011, 0....
<p>I work out the conditional variance using a GARCH model based on daily returns as follows:</p> <pre><code> conditional variance 1/1 0.024879711 2/1 0.02607681 3/1 0.026476405 4/1 0.025159491 5/1 0.023916521 . . . 31/1 0.022825...
g65063
[ -0.010436519049108028, 0.0015104281483218074, -0.012050075456500053, -0.01818864792585373, -0.008866514079272747, 0.0132245859131217, 0.022703420370817184, -0.0013705262681469321, 0.021476201713085175, -0.04733237251639366, 0.04126599431037903, 0.008812244981527328, 0.042895738035440445, -...
<p>I want to understand if an experiment gives equal response at two different levels of an experimental parameter. What I did was to repeat the experiment 6 times at the first level of the parameter and 6 times at the second level. The problem is that the experiment measures 20 variables, so I have 12 experiments and ...
g523
[ -0.015002594329416752, -0.005118226166814566, 0.0009831773350015283, -0.04013819247484207, 0.02617652341723442, -0.0005785424145869911, 0.0008073958451859653, 0.009887460619211197, -0.015098161064088345, 0.006197474896907806, -0.04349606856703758, -0.016907930374145508, -0.04149436950683594,...
<p>I am reading a book on time series analysis and I am having problems understanding the section about outlier detection.</p> <p>The authors say that when you want to know whether at a certain time $T$ there was an outlier, you should use a certain test statistic and a test with size less than $\alpha$. But when you ...
g23484
[ 0.042037833482027054, 0.006483249366283417, 0.002898554317653179, -0.0285158921033144, -0.02509944513440132, -0.014294753782451153, 0.09189566969871521, 0.018160950392484665, -0.07191681861877441, -0.028695743530988693, -0.002815062878653407, 0.07675863802433014, 0.0024847760796546936, 0.0...
<p>I am planning to develop a course which I tentatively call as 'Quantitative Reasoning'. The goal of the course is to equip a typical undergraduate student with sound quantitative reasoning skills so that they can critically evaluate statistical and related quantitative claims they may encounter as part of their pers...
g65064
[ 0.06099766120314598, -0.013256864622235298, 0.005170779302716255, -0.024403411895036697, -0.01074900757521391, 0.01796679198741913, -0.002889135852456093, 0.04923112317919731, 0.0019157836213707924, -0.03406791761517525, 0.10107272863388062, -0.029467521235346794, 0.06429344415664673, 0.01...
<p>The motivation for this question is from Finance. I have some market data (daily time series) for the price of some securities and I would like to generate synthetic versions of these which are statistically "similar" (in some sense) for testing trading strategies. Is there literature on this subject?</p> <p>I was ...
g23486
[ -0.008442455902695656, 0.0006568921962752938, 0.005091079976409674, -0.062366630882024765, -0.04170231893658638, -0.04894692450761795, 0.027268338948488235, -0.02905811183154583, -0.04861006885766983, -0.015543402172625065, 0.005885015241801739, 0.015622620470821857, 0.053456466645002365, ...
<p>I'm working on a machine learning algorithm and have gotten stuck with how to rebalance a discrete probability distribution. I have a distribution represented as a simple array of $n$ numbers which are all bounded between $0$ to $1$ and that always sum to $1$. At a particular point I wish to update on of the numbers...
g23487
[ 0.013859967701137066, -0.030972804874181747, -0.004994334187358618, -0.01399289257824421, 0.026187457144260406, -0.025234531611204147, -0.014893406070768833, 0.01090080477297306, -0.017619214951992035, 0.01863333210349083, -0.011234648525714874, 0.026461781933903694, 0.021998316049575806, ...
<p>This post pertains to Bayesian pdf manipulation.</p> <ul> <li>Firstly, assuming a prior probability specified as <em>Gamma</em> distribution such that $\alpha = \mu_{0}^{2}/\sigma_{0}^{2}$ and $\beta = \mu_{0}/\sigma_{0}^{2}$; is it correct to assume, substituting into the Gamma distribution, that the prior has the...
g43350
[ -0.004968869965523481, -0.07010801881551743, -0.0008358555496670306, -0.07438674569129944, 0.043573811650276184, -0.018188726156949997, 0.06860488653182983, 0.008108190260827541, -0.038885463029146194, 0.021475089713931084, 0.014708067290484905, 0.020747851580381393, -0.0034803978633135557, ...
<p>I have data on birth intervals of women. Birth interval refers to the time interval from one child's birth date until the next child's birth date. Here, dependent variable is the birth interval, defined as the length of time between two successive births for different parities, which are measured in single months. H...
g23489
[ -0.013210832141339779, 0.015445676632225513, -0.014474849216639996, 0.01225618552416563, -0.030381634831428528, 0.041298266500234604, 0.013703818432986736, -0.023548444733023643, -0.02163621038198471, -0.013423368334770203, -0.035074446350336075, -0.04402003809809685, 0.0624513104557991, 0...
<p>I'm using hidden Markov models to classify some accelerometer data. I take the Fourier transform of the raw data at a given window length, and then train an HMM for each class, and every test instance is classified as the class corresponding with the HMM giving the highest log likelihood.</p> <p>Now, I want to try ...
g65065
[ 0.013920595869421959, 0.004028185270726681, -0.004342587199062109, -0.019541732966899872, 0.01261020265519619, -0.025565652176737785, -0.016126975417137146, -0.010499025695025921, -0.056499142199754715, -0.002768616657704115, -0.004645294044166803, 0.024305958300828934, 0.024590203538537025,...
<p>I am novice in Stats. I drew 5 numbers from 5 Odd and 4 Even numbers. After 10,000 runs, what will be statistical model look like; will be sure the ratio for odd to Even will end in ratio 3:2 ? If the same model is made for 5 numbers consisting 3 Odd and 2 Even and 3 numbers are drawn will it also end in 2:1 ratio?<...
g23491
[ -0.023557664826512337, 0.001508333720266819, -0.001466070651076734, -0.05173666030168533, 0.005269750487059355, -0.020723208785057068, 0.05987345427274704, 0.014376422390341759, -0.011012115515768528, -0.03134623169898987, -0.02357802726328373, -0.03159824013710022, 0.047193001955747604, -...
<p>I have read a number of articles that talk about companies such as Google, Facebook, and many others using R for research. The other scenario I have read about is companies using R to prototype an analytics solution and then re-implement it in another language.</p> <p>I am trying to find literature on companies usi...
g46887
[ 0.021154558286070824, -0.0046569351106882095, 0.024630790576338768, 0.021210752427577972, 0.015931909903883934, -0.03633551299571991, -0.03404106944799423, -0.020652342587709427, -0.03301137685775757, -0.011827959679067135, 0.06558820605278015, 0.009954850189387798, 0.045225296169519424, 0...
<p>So, I struggle with Regression a lot. I just found out how to get 2 lines with the same slope, but I cannot manage to get 2 lines with the same intercept. I read about ANCOVA a lot (because I thought this was what I needed), but no one uses the same intercepts; just the same slope. Can someone help out with this?</p...
g43354
[ 0.0013841913314536214, -0.07217267900705338, -0.01742776297032833, 0.02491442672908306, 0.01566586270928383, -0.03683892637491226, 0.07018361985683441, 0.0037501566112041473, -0.04210760444402695, -0.03855115547776222, -0.015643468126654625, 0.00897408276796341, 0.045420486479997635, -0.00...
<p>I have code that generates a random permutation. In my case, a permutation consists of N binary features, and each of the N features is set or unset randomly. How many times must I generate a random permutation in order to be reasonably assured that I have covered all possible permutations? I'm not sure how to de...
g45279
[ -0.039524007588624954, 0.027047330513596535, -0.004730418790131807, -0.03731004521250725, -0.021831778809428215, -0.022515634074807167, 0.035950783640146255, 0.05145172029733658, -0.019709771499037743, -0.034590113908052444, -0.02403491921722889, -0.008257072418928146, -0.001193616772070527,...
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/13676/why-does-t-statistic-increase-with-the-sample-size">Why does t statistic increase with the sample size?</a> </p> </blockquote> <p>In t test,the test statistic is $$ t = \frac{\overline{x} - \mu_0...
g49717
[ 0.029010122641921043, 0.06757717579603195, 0.0010864257346838713, -0.018147684633731842, 0.012433355674147606, -0.033775631338357925, -0.004286033567041159, 0.013678044080734253, -0.040569014847278595, -0.023716064170002937, -0.013329599052667618, 0.025862528011202812, 0.024754462763667107, ...
<p>In Gaussian clustering (i.e. General Mixture Models) we model the data with some clusters. For example, in the below figure, we have two clusters $C_1, C_2$, each of which are modeled with a Gaussian (Normal) distribution: $p_{C_1} \sim \mathcal{N}(\mu_1, \Sigma_1)$ and $p_{C_2} \sim \mathcal{N}(\mu_2, \Sigma_2)$ wi...
g23064
[ -0.03551843762397766, -0.05625682696700096, -0.010529459454119205, -0.02330264076590538, 0.014561704359948635, 0.025871364399790764, -0.02857433445751667, 0.06737582385540009, -0.011378941126167774, -0.010783842764794827, 0.006256023421883583, 0.007804031018167734, 0.058165501803159714, -0...
<p>I want to draw a plot in Matlab or Stata. I have a mean and CI for some distribution. there should be a line with the upper end of the line representing the upper CI and the lower end the lower CI and the middle, the average.</p> <p>I am not sure how to do it or how to search for it. Can anyone kindly help me out ?...
g65066
[ 0.017411254346370697, -0.028134219348430634, -0.0007754877442494035, -0.052094168961048126, -0.024870598688721657, 0.007699529640376568, -0.039485860615968704, -0.04242011532187462, -0.07012845575809479, -0.030121222138404846, 0.005205704364925623, 0.005153217352926731, 0.03951876610517502, ...
<p>If $g=f(x,y)$ is a function of independent random variables $x$ and $y$ then how do we arrive at the expression for the probability density function of $g$, </p> <p>$$f_G(g) = \iint f_X(x)f_Y(y)\delta(g-f(x,y))\mbox{d}x\mbox{d}y\ ?$$</p> <p>I have been looking at some statistics books but cannot find it. Neither a...
g23494
[ 0.017275745049118996, 0.037050776183605194, -0.012346706353127956, -0.018124308437108994, 0.007656779605895281, 0.008544364012777805, 0.013630344532430172, -0.033545803278684616, -0.05303431674838066, -0.028625430539250374, -0.05135233700275421, 0.022471267729997635, 0.061566807329654694, ...
<p>I have a model for predicting a trajectory (x as a function of time) with several parameters. At the moment, I calculate the root mean square error (RMSE) between the predicted trajectory and the experimentally recorded trajectory. Currently, I minimise this difference (the RMSE) using simplex (fminsearch in matlab)...
g65067
[ 0.02278185822069645, -0.08524567633867264, 0.011691697873175144, 0.05129791796207428, -0.03330939635634422, -0.06127914413809776, 0.011545457877218723, 0.016201945021748543, -0.06830737739801407, -0.017903603613376617, 0.030745813623070717, -0.021365638822317123, 0.104953333735466, 0.02464...
<p>By (weak/strong) law of large numbers, given some iid sample points $\{x_i \in \mathbb{R}^n, i=1,\ldots,N\}$ of a distribution, their sample mean $f^*(\{x_i, i=1,\ldots,N\}):=\frac{1}{N} \sum_{i=1}^N x_i $ converges to the distribution mean both in probability and a.s., as sample size $N$ goes to infinity.</p> <p>...
g23495
[ 0.00038454183959402144, -0.02949587255716324, 0.0037735099904239178, -0.0026138010434806347, 0.01625259965658188, -0.0726308673620224, -0.026483843103051186, -0.008329632692039013, -0.027390042319893837, -0.043607886880636215, -0.054226625710725784, 0.00789705105125904, 0.017872978001832962,...
<p>In a research article about sensitivity analysis of an ordinary differential equation model of a dynamic system, the author provided the distribution of a model parameter as Normal distribution (mean=1e-4, std=3e-5) truncated to the range [0.5e-4 1.5e-4]. He then uses samples from this truncated distribution for si...
g43361
[ 0.00784401223063469, -0.03125687316060066, -0.018425829708576202, -0.026058237999677658, -0.009120453149080276, 0.02872336469590664, 0.04391724243760109, -0.006818134803324938, -0.017828339710831642, 0.019479850307106972, 0.00836650375276804, 0.01473063975572586, 0.02489933744072914, -0.02...
<p>I need to process three data frames containing the same subgroups (name). So far I've been using this approach:</p> <pre><code>results = data.frame(name = factor("dummy"), col1 = 1, col = 2) for( name in df1$name ) { new.results = process(name, df1[df1$name == name, ], df2[df2$name == name,], df3[df3$name == nam...
g23498
[ 0.036666423082351685, 0.0015386714367195964, 0.02126309461891651, -0.07268813252449036, 0.0020641309674829245, -0.11583977192640305, 0.018893616273999214, 0.02127096801996231, -0.04603097587823868, -0.05237801373004913, 0.036082200706005096, 0.025284700095653534, 0.005265978164970875, -0.0...
<p>In linear regression, is the $R^2$ value enough to assess whether the relationship between the independent and dependent variable is linear? It gives the amount of variability in the dependent variable explained by the independent variable. I know that you can plot residuals versus the x value or residuals versus th...
g65068
[ 0.01107160933315754, -0.03175611048936844, -0.01000902708619833, 0.005415713414549828, -0.05889306962490082, -0.00363405654206872, 0.03379548713564873, -0.033639028668403625, -0.03948718681931496, -0.07188261300325394, -0.009097019210457802, 0.04143930599093437, 0.025442099198698997, -0.00...
<p>I had a question on the interaction depth parameter in gbm in R. This may be a noob question, for which I apologize, but how does the parameter, which I believe denotes the number of terminal nodes in a tree, basically indicate X-way interaction among the predictors? Just trying to understand how that works. Additio...
g65069
[ -0.0030027334578335285, 0.014020792208611965, 0.0028744619339704514, -0.03711329773068428, 0.03952629491686821, -0.0032222303561866283, 0.0403195284307003, -0.015267451293766499, -0.04372016713023186, -0.022706734016537666, -0.015409796498715878, 0.05023502930998802, 0.04044464975595474, -...
<p>What is the <a href="http://en.wikipedia.org/wiki/Maximum_entropy_probability_distribution" rel="nofollow">maximum entropy distribution</a> for a positive continuous variable, given its first and second moments?</p> <p>For example, a Gaussian distribution is the maximum entropy distribution for an unbounded variabl...
g65070
[ 0.010170908644795418, -0.023778896778821945, -0.011474521830677986, -0.0564512237906456, 0.011206086724996567, -0.013324711471796036, -0.03401005640625954, 0.03266147896647453, -0.06151385232806206, -0.022458989173173904, -0.012580552138388157, -0.04322429373860359, 0.06116176024079323, -0...
<p>How to determine the number of critical points for some time series (for example, using gradient)?</p> <p>As far as I understand I have to do the following steps:</p> <ol> <li>Fit the time series with some <em>"curve"</em> function (polynomial, sum of sin, etc.) <em>f(x)</em>.</li> <li>Use this <em>f(x)</em> as da...
g65071
[ 0.03864167258143425, 0.008564189076423645, 0.013453186489641666, -0.01742943376302719, 0.03747151046991348, -0.03499603644013405, 0.03316275402903557, 0.0005784183740615845, -0.039070937782526016, 0.017479991540312767, -0.057320211082696915, 0.01017480157315731, 0.0915243923664093, 0.00696...
<p>I have to plot a graph with log distribution on y axis. The values are: 10^-3..10^3.</p> <p>What software do you suggest me to use.</p> <p>My OS is Ubuntu, so I prefer software for Linux.</p> <p>Thanks.</p>
g65072
[ 0.05330665409564972, 0.04565858468413353, -0.011330622248351574, -0.0315261110663414, -0.04283436760306358, -0.05911907181143761, 0.0005196604179218411, -0.012431107461452484, -0.055316075682640076, -0.04383236914873123, 0.001647271099500358, 0.02655213698744774, 0.06109413504600525, -0.01...
<p>I have almost the same questions like this: <a href="http://stats.stackexchange.com/questions/5347/how-can-i-efficiently-model-the-sum-of-bernoulli-random-variables">How can I efficiently model the sum of Bernoulli random variables?</a></p> <p>But the setting is quite different:</p> <ol> <li><p>$S=\sum_{i=1,N}{X_i...
g65073
[ -0.04664287716150284, 0.001294208224862814, -0.014976847916841507, -0.013837825506925583, -0.06109670177102089, -0.07722634077072144, 0.011131618171930313, -0.044642604887485504, -0.012414046563208103, 0.019547265022993088, -0.0522351935505867, 0.032461002469062805, 0.04689319059252739, 0....
<p>I am trying to do a weighted community analysis. I have association matrices calculated (in <a href="http://myweb.dal.ca/hwhitehe/social.htm" rel="nofollow">SOCPROG</a>) year by year over a 30-year period for a population of 80-100 individuals. I would like to explore how community structure changes over time using ...
g23508
[ 0.055949579924345016, -0.014132024720311165, -0.0125039704144001, -0.02357560396194458, -0.0142395393922925, -0.060811806470155716, 0.07280536741018295, 0.033064085990190506, -0.05468033254146576, 0.013961476273834705, 0.034342993050813675, -0.01864457130432129, 0.04895174130797386, 0.0089...
<p>I wanted to estimate the difference of two means (say: $\mu_1$ and $\mu_2$). I have the estimate of means (say: $m_1$ and $m_2$) with variance estimates (say: $v_1$ and $v_2$). </p> <p>How do I calculate the weighted-estimate for difference of means ($\mu_2$ - $\mu_1$)?</p> <p>I am thinking these two should work ...
g65074
[ -0.002629026770591736, -0.03555198013782501, -0.015414327383041382, -0.04118255525827408, 0.04386046901345253, -0.019400259479880333, -0.054838474839925766, 0.00019421869365032762, -0.08473367989063263, -0.00867080595344305, -0.04014716297388077, 0.06344857811927795, -0.006599231157451868, ...
<p>Can someone please provide me with a summary of how to optimise multi-layer feedforward neural network architecture using the genetic algorithm? I've read a few papers that say this is an effective method to select architecture, but i'm struggling to do it myself. By architecture I mean the number of layers, and the...
g65075
[ 0.015250304713845253, 0.06113696098327637, 0.010102086700499058, 0.025182370096445084, 0.012181011959910393, -0.060627199709415436, 0.06498796492815018, 0.05161166191101074, -0.04430156946182251, 0.019556064158678055, -0.032316457480192184, 0.020867614075541496, 0.026753654703497887, 0.047...
<p>I try to model the duration until a unit is inspected by a large number of possible explanatory variables. The duration is non-negative and the explanatory variables are factors and numerical variables.</p> <p>If I knew the best explanatory variables then I would use <code>glm</code> in R. I find family "Gamma" wit...
g65076
[ 0.02503976784646511, 0.009288777597248554, -0.013568803668022156, -0.02730650268495083, 0.013587522320449352, -0.05538509413599968, -0.0032375806476920843, 0.004954660777002573, -0.056955814361572266, -0.01687595620751381, 0.02559334598481655, 0.027346055954694748, 0.010742885060608387, 0....
<p>Is it ok to try and estimate the parameters $c$ and $p$ of a standard AR(1) model of the form</p> <p>$$ X_t = c+ pX_{t-1} +e_t $$</p> <p>solving the normal equation</p> <p>$$ \Theta = (X^T X)^{-1}X^TY $$</p> <p>where $\Theta$ is the parameter vector, $X$ a vector containing the $X_{t-1}$ values and $Y$ the $X_t$...
g23512
[ 0.015844615176320076, -0.02914208173751831, 0.0016975740436464548, -0.009680545888841152, -0.0072550587356090546, -0.03540942445397377, 0.05123026669025421, -0.005717382300645113, -0.07244745641946793, 0.08442056179046631, 0.02890746109187603, 0.023129917681217194, 0.02916792407631874, 0.0...
<p>In linear regression there are two approaches for minimizing the cost function: The first one is using gradient descent. The second one is setting the derivative of the cost function to zero and solving the resulting equation. When the equation is solved, the parameter values which minimizes the cost function is giv...
g23513
[ 0.013208729214966297, -0.02878054417669773, 0.00037545018130913377, 0.013154239393770695, 0.06986816972494125, -0.023011667653918266, 0.0491691492497921, 0.023145878687500954, -0.06285053491592407, 0.025666886940598488, -0.06207897514104843, 0.034683410078287125, -0.0005118438857607543, 0....
<p>I have a dataset <code>data</code> about a group of persons developing events with Poisson distribution. These events are uniform and can be recurrent in some of the subjects. Their observation time is different. I tried to use R to calculate the incidence rate (in 1000 person years) of the event in the whole group ...
g16945
[ 0.051408153027296066, -0.0540759339928627, -0.00916574988514185, -0.03379659727215767, 0.026603814214468002, -0.015549222007393837, 0.048810236155986786, 0.06737054139375687, -0.05479813739657402, -0.025342687964439392, 0.0021449322812259197, 0.048728689551353455, 0.022817734628915787, -0....
<p>using this code</p> <pre><code>pvalue = rep(NA, 100000) n = c(352, 198, 170) group = rep(1:3, n) for (i in 1:100000){ x=c(rnbinom(352, size=0.9563, mu=2.27), rnbinom(198, size=1.0468, mu=2.27), rnbinom(170, size=1.3264, mu=2.27)) kruskal = kruskal.test(x ~ group) pvalue[i] = kruskal$p.value} result = length(pvalu...
g23515
[ -0.004951596260070801, -0.04038311541080475, 0.011498730629682541, 0.005592541769146919, 0.03752366080880165, 0.04077998921275139, 0.003045237623155117, -0.019574593752622604, -0.052005987614393234, -0.005359286442399025, 0.028181053698062897, 0.017712511122226715, -0.01817796751856804, 0....
<p>I want to plot high dimensional data on x y plane. For that I know three methods: Principal component analysis (PCA), multidimensional scaling (MDS) and a method from spectral graph theory (using the second and third eigenvectors of the laplacian of the graph or w/e).</p> <p>What are the different aspects of each t...
g65077
[ 0.04548059403896332, -0.027056047692894936, -0.0015589863760396838, -0.03307667374610901, -0.07904543727636337, -0.017225248739123344, 0.010157992132008076, -0.027114931493997574, -0.061278507113456726, -0.000670108012855053, 0.05053875595331192, -0.008641970343887806, 0.0581105574965477, ...
<p>With a flat prior, the ML (frequentist -- maximum likelihood) and the MAP (Bayesian -- maximum a posteriori) estimators coincide.</p> <p>More generally, however, I'm talking about point estimators derived as the optimisers of some loss function. I.e.</p> <p>$$ \hat x(\,. ) = \text{argmin} \; \mathbb{E} \left( L(X-...
g43374
[ 0.003667576937004924, -0.10892020910978317, -0.0041168867610394955, 0.011145656928420067, 0.012295606546103954, -0.02933906577527523, -0.017213651910424232, -0.02266235649585724, -0.027809228748083115, 0.007355128414928913, 0.0034122576471418142, 0.029209760949015617, 0.043959841132164, 0....
<p>Currently working in Octave, but due to the poor documentation progress is very slow.</p> <p>What language is easy to learn and use, and well documented to solve machine learning problems? I am looking to prototype on a small dataset (thousands of examples), so speed is not important.</p> <p>EDIT: I am developing ...
g65078
[ 0.06413903087377548, -0.003164792200550437, 0.0008978290134109557, -0.02409571036696434, -0.031506914645433426, -0.08239267021417618, -0.012157121673226357, 0.04992162436246872, -0.05658202990889549, -0.0219937302172184, 0.016462789848446846, 0.02947775274515152, 0.05292636528611183, -0.00...
<p>I want to fit a regression model to see whether these is changes in the proportion of First-year students over years. I have count data for the total count of First-year students (FirstTimeStudents) and total count of all students (TotalStudents). I want to fit a GEE model with this data and wrote the following c...
g43383
[ 0.013362872414290905, -0.013628625310957432, -0.009122651070356369, -0.057346004992723465, -0.01390004064887762, 0.00784472655504942, 0.04739795997738838, -0.007324724458158016, -0.017127349972724915, -0.0004654891963582486, 0.0070225028321146965, 0.0022749663330614567, 0.08589770644903183, ...
<p>I have a dataset with about 35,000 individuals described by around 15 categorical variables. </p> <p>I'm trying to study the independence / correlation between these 15 categorical variables. My first idea was to, for each pair of variables, create a contingency table and calculate the $\chi^2$. Then, study the ove...
g65079
[ -0.0397266149520874, 0.019355982542037964, -0.006057028193026781, -0.052209701389074326, -0.0018310417653992772, -0.04598858207464218, 0.008393236435949802, 0.029346127063035965, -0.04107740521430969, 0.006955666467547417, 0.033662524074316025, -0.0003980157489422709, 0.017801471054553986, ...
<p>I am pretty new to statistics and have some data that I think may follow a power-law distribution. However, it includes zeroes. I understand that mathematically zeroes can't work, but conceptually, would the point of a power law be violated if there are some zeroes in the data? If I were to scale the data by adding ...
g35122
[ 0.005050086881965399, 0.031217599287629128, -0.011200766079127789, -0.014169949106872082, -0.027501875534653664, -0.02021102048456669, -0.030687499791383743, 0.011055072769522667, -0.07912330329418182, -0.05946313589811325, 0.01245832722634077, -0.001262119971215725, 0.035441022366285324, ...
<p>Does anyone know references for non-asymptotic risk bounds for Gaussian regression. Specifically, I am interested in Bayesian regression with a Gaussian prior on the estimator space, and a Gaussian likelihood. I would like to know any results that bound the difference between the risk of the Bayesian estimator and t...
g23518
[ -0.007674702908843756, -0.016908541321754456, -0.008440193720161915, -0.04684191942214966, -0.029605252668261528, 0.02030208334326744, -0.004057028796523809, 0.014091594144701958, -0.0517193004488945, -0.030009763315320015, 0.030049368739128113, 0.03974751755595207, 0.035125404596328735, 0...
<p>I'm interested in fitting a linear mixed model with this special variance structure on the random effects $\mathbf{u}$:</p> <p>$\begin{eqnarray*} \mathbb{V}\left(\mathbf{u}\right) &amp; = &amp; \mathbf{A}\mathbf{G}\mathbf{A}^{\prime} \end{eqnarray*}$</p> <p>This variance structure is very similar to Cholesky and...
g26554
[ 0.026021305471658707, -0.03204701840877533, -0.020438652485609055, -0.0497690811753273, 0.03813229128718376, 0.015277051366865635, 0.050831686705350876, 0.0048231943510472775, 0.03738757595419884, -0.023190975189208984, 0.060077957808971405, -0.0044774548150599, -0.022566689178347588, -0.0...
<p>We designed a RCB experiment and assigned the factor levels to the experimental units randomly inside each block. Let's pretend we changed our mind and we would like to go for a Completely Randomized design. A new completely randomized assignment of factor levels to experimental units is not possible since the exper...
g65080
[ -0.011848744004964828, -0.02294754609465599, -0.003975044470280409, -0.001916584325954318, 0.0120919831097126, -0.026449667289853096, 0.06633308529853821, 0.038569316267967224, -0.03640613704919815, 0.021662967279553413, -0.021003123372793198, 0.049144428223371506, -0.04802272096276283, 0....
<p>I know just enough about <code>lme()</code> and <code>lmer()</code> to get myself by with simple models, and to get myself into trouble with more complex ones. I'm really confused about the proper way to model some data I'm currently working with, and would be grateful for some help.</p> <p><strong>The question</s...
g47060
[ -0.021914493292570114, -0.054518572986125946, -0.03082587569952011, 0.03358415141701698, -0.022573035210371017, -0.027383947744965553, 0.024352794513106346, 0.016056232154369354, -0.058794450014829636, -0.02909250557422638, -0.008726920001208782, -0.00035774355637840927, 0.03265662118792534,...
<p>I'm studying panel data models in my introductory econometrics class, especially random effects models.</p> <p>Consider the model: $$y_{it}=x_{it}'\beta +c_i+u_{it}$$ with the assumptions $E[c_i]=0=E[u_{it}]$, $E[c_i^2]=\sigma^2_c$, $E[u_{it}]=\sigma_u^2$, $\text{Corr}(x_{it},c_i)=0$ and $\text{Corr}(x_{is},u_{it})...
g65081
[ 0.0013226562878116965, -0.02786940522491932, -0.009247667156159878, -0.045111335813999176, 0.055760398507118225, 0.02094087190926075, 0.04322470724582672, -0.016952240839600563, -0.041646964848041534, 0.010641547851264477, -0.011180723085999489, 0.03946150094270706, -0.004971171263605356, ...
<p>Just asking if someone knows why the prediction intervals are quite different when one uses a time series analytic method of estimation <em>versus</em> when one simulates such time series. </p> <p>For example, I used the forecast package's <code>auto.arima</code> function to get the best fit to my data, say it was ...
g65082
[ 0.029330013319849968, -0.033038366585969925, -0.002280913759022951, 0.01290161069482565, -0.027411935850977898, 0.02252938598394394, 0.05002520605921745, -0.009831726551055908, -0.020963530987501144, 0.028332091867923737, 0.04828394204378128, 0.0020144276786595583, 0.055129654705524445, 0....
<p>I am building a real time machine learning module, which is not based on a huge** sample size, with hyper parameter grid search and cross validation process. I am looking for any insight/advice, as I`m considering one of these options:</p> <ol> <li><p>Use cross validation grid search to look for the best hyper-para...
g23525
[ 0.04389346018433571, 0.02736903354525566, 0.016300147399306297, -0.010987672954797745, 0.01338248886168003, -0.01945292390882969, -0.027063759043812752, 0.01338257361203432, -0.04916912689805031, 0.009492050856351852, 0.021147608757019043, 0.03788086026906967, -0.011522257700562477, 0.0424...
<p>I am working my way through <a href="http://greenteapress.com/thinkstats/" rel="nofollow">Think Stats</a>, where the author states that</p> <blockquote> <p>"there is no closed form expression for the normal cumulative density function"</p> </blockquote> <p>but does not provide any further details as to why thi...
g65083
[ 0.04534588009119034, -0.028851628303527832, -0.001236487296409905, -0.022799942642450333, 0.016026772558689117, 0.03468286618590355, 0.07930044084787369, -0.00029052470927126706, -0.05670947581529617, -0.08656000345945358, 0.016288379207253456, -0.007181035820394754, 0.0860040932893753, 0....
<p>In the literature on hierarchical/multilevel models I have often read about "nested models" and "non-nested models", but what does this mean? Could anyone maybe give me some examples or tell me about the mathematical implications of this phrasing?</p>
g65084
[ 0.017626406624913216, 0.03488558530807495, -0.006021526176482439, 0.028198959305882454, 0.057566653937101364, -0.008323119021952152, 0.011191193014383316, -0.014359932392835617, -0.0010205786675214767, -0.026856327429413795, -0.09024916589260101, -0.0008351582218892872, 0.05323914811015129, ...