question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>Recently, I have heard of the concept of the reinforcement learning and I have got interested in it. So I decided to start a project that uses this kind of machine learning for constructing algorithms from existing knowledge. My problem is that I really don't know all the possible states and actions in order to pred...
g68080
[ 0.012939109466969967, 0.015314796008169651, 0.009350653737783432, 0.0360323041677475, 0.017754213884472847, -0.041240110993385315, 0.0542527474462986, 0.055088091641664505, 0.0011095457011833787, -0.021472295746207237, -0.0025810108054429293, 0.011264285072684288, 0.06015608087182045, 0.05...
<p>I want to estimate the shape parameter of gamma distribution in Winbugs. I select gamma distribution as prior for shape parameter. Data set is generated using MATLAB as:</p> <pre><code>gamrnd(5,1,[100 1]) </code></pre> <p>a small part of data loaded to model is here:</p> <pre><code>list(n=100,b=1) y[,1] 9.855098...
g27921
[ -0.00895723607391119, -0.05613619089126587, -0.0004873898869846016, -0.041649267077445984, 0.010150577872991562, 0.019117381423711777, 0.024800235405564308, -0.0029497002251446247, -0.07553497701883316, 0.0018928719218820333, -0.04318307712674141, 0.032899048179388046, 0.036455072462558746, ...
<p>I'm trying to regress some simple pooled data. My data has 60 observations and three columns: Weight, Height, and Sex (female=1, male=0).</p> <p>If I regress thus, Weight ~ Height + Sex, my model is fairly satisfactory, but the residuals are not homoscedastic (green errors are male, blue female):</p> <p><img src="...
g68081
[ 0.008799499832093716, -0.0819413810968399, -0.0138392960652709, 0.014092597179114819, 0.00700601888820529, 0.07317525148391724, -0.005668605212122202, -0.007129346020519733, -0.08362024277448654, -0.03434601053595543, -0.013049428351223469, 0.013654339127242565, 0.072884701192379, -0.00925...
<p><a href="http://www.jofcis.com/publishedpapers/2012_8_10_4007_4016.pdf" rel="nofollow">Paper1 (freely available)</a> and <a href="http://link.springer.com/chapter/10.1007/978-3-642-03220-2_12#page-1" rel="nofollow">Paper2 (Springer)</a> talk about application of fuzzy cognitive map (FCM) for pattern classification. ...
g68082
[ 0.00654034735634923, -0.038387130945920944, -0.000249309407081455, 0.008821427822113037, 0.058316171169281006, -0.0023273350670933723, 0.03280385583639145, 0.01759295165538788, -0.02923552133142948, -0.033241353929042816, 0.030705327168107033, -0.00476278318092227, 0.10503868758678436, 0.0...
<p>I have a stratified random sample based on sampling frame formed from our CRM systems data. </p> <p>Now when I look responses in different strata they seem to differ. Some stratas have much higher response rate. </p> <p>My survey variables are mostly preference related, there are few single value answers and m...
g27923
[ 0.022215228527784348, -0.0022227789741009474, -0.014808974228799343, -0.0034442152827978134, 0.029825901612639427, 0.04483507201075554, -0.009344286285340786, 0.0345277413725853, -0.022890983149409294, -0.015302751213312149, 0.0321725495159626, 0.012135202065110207, 0.025416551157832146, 0...
<p>I am trying to build a system to automatically detect head nods and shakes in videos. I have reliable eyes position information at each frame and I'd like to use the info to perform the detection of nods and shakes.</p> <p>I did a little browsing on the internet and it looks like Hidden Markov Models have been <a h...
g68083
[ 0.012247280217707157, 0.005969610996544361, -0.011261736042797565, -0.003755545010790229, -0.04294157028198242, -0.05596061795949936, 0.0314849391579628, -0.00014792763977311552, 0.026128586381673813, -0.013815326616168022, -0.028355496004223824, -0.03129987791180611, 0.06564415991306305, ...
<p>What is the default variance-covariance structure for random-effects in <code>glmer</code> in <code>lme4</code> package? How does one specify other variance-covariance structure for random-effects in the code? I could not find any information regarding this in the <code>lme4</code> documentation.</p>
g68084
[ 0.003972113132476807, -0.02578471414744854, -0.01353906188160181, -0.03636661544442177, 0.022223975509405136, 0.026602234691381454, 0.030909841880202293, -0.004006300587207079, -0.03720053657889366, -0.009245158173143864, 0.01564745604991913, -0.006056706886738539, -0.036723408848047256, -...
<p>I have a question about solving simultaneity in this following case:</p> <p>Environmental taxes have direct and indirect effect on the change of waste pollution (ΔI). This effect (ΔI) has an indirect influence on environmental taxes in the next year, which may present the problem of simultaneity. However, the annua...
g68085
[ 0.02558189071714878, 0.0027662089560180902, 0.01672997698187828, -0.07766465842723846, -0.00005320009950082749, 0.011896518990397453, 0.013204987160861492, 0.04167504236102104, -0.050795361399650574, 0.04137668013572693, -0.008469793945550919, 0.02663266472518444, 0.0796436071395874, 0.042...
<p><em>Disclaimer</em>: I'm not a statistician so I apologize if this is a trivial question or written in a way that convolutes ideas and abuses jargon. It seems like a problem that should be common but I haven't had any luck finding the answer, maybe because I just didn't know the right words...</p> <p>I have a very...
g48693
[ 0.02936830371618271, -0.031279779970645905, -0.0021382435224950314, -0.07167191803455353, -0.01673821546137333, 0.05561314895749092, 0.00917685404419899, 0.02790449745953083, -0.0018789580790326, -0.014688572846353054, 0.017012502998113632, 0.04006116837263107, 0.030885247513651848, 0.0483...
<p>I'm trying to understand the philosophy behind using a Generalized Linear Model (GLM) vs a Linear Model (LM). I've created an example data set below where:</p> <p>$log(y) = x + \epsilon $. </p> <p>The example does not have the error $\epsilon$ as a function of the magnitude of $y$, so I would assume that a linear...
g44291
[ 0.00577080063521862, -0.011289120651781559, -0.001943928305990994, -0.052742671221494675, 0.0038209212943911552, -0.021990323439240456, 0.021998252719640732, -0.03374943137168884, -0.046292744576931, -0.011103352531790733, -0.02050759270787239, 0.021297097206115723, 0.10760906338691711, -0...
<p>I was wondering how you get beta values for the final model if you don't have a reference condition? I am running a multinominal logistic regression using a dependent variable that has 6 levels - there is no condition that was a control or justifies separation from the others, so I don't want a reference category.</...
g47812
[ 0.004304190166294575, -0.03212819993495941, 0.005732047371566296, -0.057290010154247284, 0.05397221818566322, -0.07522740215063095, 0.004516678862273693, -0.009801909327507019, -0.050652582198381424, -0.05105038732290268, -0.032087940722703934, 0.03629294037818909, 0.023476019501686096, 0....
<p>I have a distribution $Y \sim 1/(1-Beta(\alpha,\beta))$. I would like to understand its properties.</p> <p>I was able to write down its density function, but I was not able to integrate it to get its mean, for example (except through simulation).</p>
g27926
[ -0.03543567657470703, 0.02320864610373974, -0.030387159436941147, -0.061844874173402786, 0.042310383170843124, -0.010416124947369099, 0.020993409678339958, -0.019611099734902382, -0.030694331973791122, -0.04566517472267151, -0.04963068664073944, 0.018934505060315132, 0.03916395455598831, 0...
<p>The formula one needs to specify for training a multilevel model (using <code>lmer</code> from <code>lme4</code> <code>R</code> library) always gets me. I have read countless textbooks and tutorials, but never properly understood it.</p> <p>So here's an example from <a href="http://www.bodowinter.com/tutorial/bw_LM...
g68086
[ -0.024365095421671867, -0.02875370718538761, -0.013595445081591606, -0.04009348526597023, 0.03879743069410324, -0.040531352162361145, 0.046065554022789, -0.03706251084804535, -0.058411967009305954, -0.004038011189550161, -0.06892756372690201, 0.027014235034585, 0.03634440153837204, 0.03009...
<p>Suggest some Open Source JAVA/C/C++ API's which has classification algorithms such as Decision Trees etc., Have tried out the following R,Weka,OpenNN,FANN.</p>
g68087
[ 0.036588530987501144, -0.08099845051765442, 0.03230501338839531, -0.027595384046435356, -0.005516189616173506, -0.06900113075971603, 0.007028152700513601, -0.009031279012560844, -0.004289830569177866, -0.007323862984776497, -0.0012270286679267883, 0.06052708998322487, 0.07063330709934235, ...
<p>my question is “what is mutual information ?(i understood that it will get some idea about linear as well as nonlinear dependencies) but, how can i interpret it in the plot (ie.,) how can i differentiate the nonlinear from the linear dependencies?</p>
g68088
[ 0.020024346187710762, -0.03648907318711281, -0.009267022833228111, 0.00017269112868234515, -0.00695842457935214, -0.0022858991287648678, 0.00019169693405274302, -0.027251381427049637, -0.06683178246021271, -0.014489050954580307, -0.01591981202363968, -0.015182610601186752, 0.0099368114024400...
<p>What is <code>&lt;&lt;-</code> in R? I know <code>&lt;-</code> means <em>assignment</em>, but what does <code>&lt;&lt;-</code> mean?</p> <p>Before posting here, I tried searing Google to find out more about the <code>&lt;&lt;-</code> operator, but it did not help me.</p>
g27929
[ 0.00443109730258584, -0.04543061554431915, -0.016823697835206985, -0.013722353614866734, 0.05073748156428337, -0.015834851190447807, 0.04439377039670944, 0.029668785631656647, -0.04360099136829376, -0.009856563061475754, -0.08321107178926468, 0.042928680777549744, 0.03237011283636093, -0.0...
<p>Through a project I am now working on (which I won't link to so to not have this an ad question), I came to realize how difficult it is to find R resources, not in English.</p> <p>Thus my question is - what resources do you know of, recommend, for learning R in non-English languages? (tutorials, blogs, wiki's, for...
g48719
[ 0.0323563851416111, 0.004230074118822813, 0.04110018163919449, 0.001442639622837305, 0.006969182286411524, -0.052174847573041916, -0.04294358566403389, 0.05117974057793617, -0.043746743351221085, 0.023576507344841957, -0.0019948165863752365, 0.04322991147637367, 0.016158385202288628, -0.01...
<p>Least-angle regression and the lasso tend to produce very similar regularization paths (identical except when a coefficient crosses zero.)</p> <p>They both can be efficiently fit by virtually identical algorithms.</p> <p>Is there ever any practical reason to prefer one method over the other?</p>
g48721
[ 0.11158696562051773, -0.03736045956611633, 0.000589952920563519, 0.028506463393568993, 0.028705496340990067, -0.028184061869978905, 0.04276915639638901, 0.016038624569773674, 0.001996931154280901, -0.0113493287935853, -0.004109938163310289, -0.006634435150772333, 0.06745762377977371, -0.01...
<p>I've come across parts of a derivation of a fixed effects estimator in a paper i don't understand. The log likelihood function is</p> <p><img src="http://i.stack.imgur.com/JA9Yj.gif" alt="enter image description here"></p> <p>where $Y_i=(Y_{i1},...,Y_{iT})'$, and $X_i$ is a $T\times k$ matrix $X_{i}=(X_{i1},...,X...
g27932
[ 0.0012016380205750465, -0.019868873059749603, -0.021450884640216827, -0.012518794275820255, 0.00137852702755481, -0.04111621528863907, 0.07744844257831573, 0.03605787828564644, -0.07220633327960968, 0.0372319258749485, -0.06859810650348663, 0.02666207030415535, 0.0035184312146157026, 0.022...
<p>I have a collection of products that could be rated as good or bad. Every product has a grade, that is the sum of "good" votes minus the sum of "bad" votes. These products are also split into two categories. What I want to do is compare both categories and see which category has better product grades. </p> <p>This ...
g27933
[ -0.035706665366888046, 0.030271001160144806, -0.016539089381694794, 0.007521338295191526, 0.03460459038615227, -0.008737066760659218, 0.017928490415215492, 0.037339214235544205, -0.005940636619925499, -0.0026916195638477802, 0.029187778010964394, 0.01523014809936285, 0.09550268948078156, 0...
<p>I've fit a system of non-linear ODE to some experimental data using Levemberg-Marquardt. After the algorithm converged, I estimated the Hessian matrix of the system using:</p> <p>$H = (J^TJ)$</p> <p>The covariance matrix is then the inverse of H:</p> <p>$cov = H^{-1}$</p> <p>To get an unbiased estimate, I resca...
g27934
[ 0.01181758102029562, -0.01902572065591812, -0.01736503653228283, -0.0429781973361969, 0.006957182195037603, -0.008583713322877884, -0.0069208587519824505, -0.005219407379627228, -0.07521321624517441, 0.04521065577864647, -0.054763857275247574, 0.03415124490857124, 0.04607253894209862, 0.01...
<p>Are there some general rules, or Monte Carlo studies, that shows evidence of the approximate number of time periods needed to implement the Newey–West estimator?</p>
g27936
[ -0.010242614895105362, 0.05883970856666565, -0.010547677986323833, -0.006313514895737171, -0.03948068991303444, -0.01543415803462267, 0.032258227467536926, -0.02008884958922863, -0.004085831344127655, 0.07822714745998383, -0.0019734289962798357, -0.00492636626586318, 0.028529422357678413, ...
<p>I am dealing with an example stated in <a href="http://mathematica.stackexchange.com/questions/50836/on-parameter-estimation-using-finddistributionparameters?lq=1">here.</a> </p> <p>Given the same data in the above link and following a parametric bootstrap method suggested in <a href="http://mathematica.stackexchan...
g68089
[ 0.04487376660108566, -0.07726509124040604, -0.01237737387418747, 0.017117274925112724, -0.0277284886687994, 0.010576140135526657, 0.0035948343575000763, -0.009909757412970066, -0.09987662732601166, 0.02775632031261921, -0.000604680273681879, -0.03606279566884041, 0.062060825526714325, 0.04...
<p>It is well-known that $Cov(X,Y)=0$ means independence if $(X,Y)$ is bi-normal distributed, would this be true for Student-t distributions? If not, could anyone give an counter-example. Great thanks!</p>
g27937
[ 0.010980866849422455, 0.021621229127049446, -0.006190324202179909, 0.011406692676246166, 0.018548505380749702, -0.015522154979407787, 0.02468567155301571, 0.020257068797945976, 0.05097602307796478, 0.012071609497070312, -0.03020666539669037, 0.03456242009997368, 0.00530853308737278, -0.019...
<p>I have fitted a Poisson regression model using, <code>model &lt;- glm(y ~ x, family = "poisson", data = df)</code> where length of <code>df</code> is 50 values, and I want to predict <code>y</code> values for new x-vector whose length is 950 by using coding <code>predict(model, newdata = data.frame(x-vector), type =...
g68090
[ 0.06279407441616058, 0.02065153233706951, -0.018235325813293457, -0.07867079973220825, 0.04273272678256035, -0.041451744735240936, -0.03224344551563263, -0.004168122541159391, -0.05336920544505119, -0.05139303579926491, -0.008557626977562904, 0.0036904108710587025, 0.04765206202864647, 0.0...
<p>"Spurious regression" (in the context of time series) and associated terms like unit root tests are something I've heard a lot about, but never understood.</p> <p>Why/when, intuitively, does it occur? (I believe it's when your two time series are cointegrated, i.e., some linear combination of the two is stationary,...
g68091
[ 0.1039772778749466, -0.011925669386982918, 0.000821763533167541, 0.01047261618077755, 0.05778365954756737, -0.03215103968977928, 0.08192501962184906, 0.0313461609184742, -0.020939262583851814, 0.007289698347449303, -0.03042798489332199, 0.03473735973238945, -0.01476746704429388, 0.02493605...
<p>I have several sets of data, unfortunately the data comes to me in a "summary" form. My job is to consolidate the several data sources into one general summary. I'm currently using the median to summarise the data, but I don't know if this is statistically sound. Here's a description of my problem:</p> <p>There are...
g68092
[ -0.046295177191495895, 0.03581366688013077, -0.022369183599948883, -0.07673553377389908, -0.04430233687162399, -0.02563374675810337, 0.02048923633992672, -0.008176248520612717, -0.0490921288728714, -0.00471676979213953, 0.02825343981385231, 0.004346609581261873, 0.004601222928613424, 0.002...
<p>I hope this isn't either far too basic or redundant. I have been looking around for guidance but so far I am still uncertain of how to proceed.</p> <p>My data consists of counts of a particular structure used in conversations between pairs of interlocutors. The hypothesis I want to test is the following: more frequ...
g68093
[ 0.042543135583400726, 0.02548210322856903, -0.011241566389799118, -0.036402326077222824, 0.004896929487586021, -0.08362538367509842, 0.08880698680877686, -0.016301164403557777, -0.04420635476708412, -0.027285661548376083, 0.04738913103938103, 0.022403821349143982, -0.0004303182358853519, 0...
<p>I am new to forecasting in R and am trying to automatically fit an ARIMA model to what I believe is a univariate dataset.</p> <pre><code>&gt; str(p1.z) 'zoo' series from 2009-04-05 to 2010-10-31 Data: int [1:83] 360 570 540 585 570 690 495 660 510 690 ... Index: Class 'Date' num [1:83] 14339 14346 14353 14360 ...
g27939
[ 0.0072113629430532455, -0.044860903173685074, 0.02388186939060688, -0.02640683576464653, -0.04402744024991989, 0.03521595895290375, 0.07220295816659927, -0.007577948272228241, -0.05403453856706619, 0.026829471811652184, 0.040936607867479324, -0.008830791339278221, 0.05048317462205887, -0.0...
<p>I have a lot of data (temperatures and similar things) collected using automatic devices. Lots of these data is let's call it smooth: even when the temperature increases/decreases fast there are few points indicating that fact like in the figure 1. Unfortunately there also are a lot of data indicating that something...
g23722
[ 0.015753857791423798, -0.019563117995858192, -0.003428898984566331, -0.016893723979592323, 0.002955072559416294, -0.08854024112224579, 0.0635795071721077, 0.011832987889647484, -0.007024730090051889, 0.03962196409702301, 0.017332175746560097, 0.03784424066543579, 0.07342619448900223, 0.015...
<p>I'm trying to run a QAP logistic regression to predict the odds of a tie in a social network (represented as a binary adjacency matrix) given two independent variables (also binary matrices) but am getting opposite results depending on whether I run the analysis in R or UCINET.</p> <p>All three matrices are rectang...
g68094
[ -0.0003090896352659911, -0.02903120219707489, -0.00763018149882555, -0.07613181322813034, 0.06212238967418671, -0.057213157415390015, 0.04583416506648064, -0.03152385726571083, -0.050949644297361374, -0.03395870327949524, 0.008426442742347717, 0.08730585128068924, -0.02198454737663269, -0....
<p>I had a plan of learning R in the near future. Reading <a href="http://stats.stackexchange.com/questions/3/what-are-some-valuable-statistical-analysis-open-source-projects" rel="nofollow">another question</a> I found out about Clojure. Now I don't know what to do.</p> <p>I think a big <strong>advantage of R</strong...
g48737
[ 0.03234746679663658, 0.0034365958999842405, 0.037259671837091446, -0.0394996702671051, -0.06489857286214828, -0.012799011543393135, 0.01829690858721733, 0.004217953886836767, -0.006244379561394453, -0.040454987436532974, 0.01064013410359621, -0.013382520526647568, 0.06718193739652634, 0.03...
<p>On smaller window sizes, <code>n log n</code> sorting might work. Are there any better algorithms to achieve this?</p>
g37692
[ -0.0037701791152358055, 0.047774992883205414, -0.002708745189011097, -0.042303796857595444, -0.0652361735701561, -0.08449814468622208, 0.02111167646944523, -0.04308534041047096, -0.038947705179452896, -0.001475853263400495, -0.0010046209208667278, 0.011769900098443031, -0.009816145524382591,...
<p>I have data in Weka .arff multiple-class training and testing data representing daily word frequencies in RSS feeds as follows:</p> <pre><code>@relation _dm_19040_031925_06112013_1383748052958_Boolean-weka.filters.unsupervised.attribute.NumericToNominal-R193 @attribute Keyword_us_invest_are_Frequency numeric @attr...
g68095
[ -0.032418955117464066, 0.012488705106079578, 0.004407465923577547, -0.04323889687657356, 0.015747377648949623, -0.09298033267259598, 0.021686721593141556, 0.011145874857902527, -0.05574897676706314, -0.01150295790284872, 0.027206353843212128, 0.025244511663913727, 0.0388258621096611, 0.024...
<p>I'm interested in learning <a href="http://en.wikipedia.org/wiki/R_%28programming_language%29">R</a> on the cheap. What's the best free resource/book/tutorial for learning R?</p>
g49454
[ 0.047904111444950104, -0.009861131198704243, 0.0021849561017006636, -0.021427731961011887, 0.014538216404616833, -0.03423185274004936, -0.009544779546558857, 0.05083170905709267, -0.027066227048635483, -0.00989693496376276, 0.03514482080936432, -0.008912602439522743, 0.04004666581749916, -...
<p>I am conducting a descriptive study, and I am using the entire population in my study and not a sample. I understand that everything I am reporting is a population parameter at this point. However, how do I report the relationships I might find between variables. For example, if I were to set up a contingency tabl...
g68096
[ 0.04021340236067772, 0.00007790332165313885, -0.028468815609812737, -0.06999924033880234, 0.036135490983724594, -0.03210253268480301, -0.008363564498722553, 0.01771138422191143, 0.030500255525112152, -0.028361694887280464, 0.03495682030916214, -0.003046337515115738, 0.029410457238554955, 0...
<p>I have a set of observations drawn from an unknown distribution. Given a new observation $x$ I would like to ascertain the probability that $x$ was drawn from the same distribution.</p> <p>My approach was to use kernel density estimation to estimate the pdf of the initial samples, and then use this to estimate the ...
g68097
[ 0.006653782911598682, -0.0386686772108078, 0.004826994612812996, -0.060125529766082764, -0.019482526928186417, -0.036524686962366104, -0.024108439683914185, 0.027039021253585815, -0.059192657470703125, -0.006809391546994448, 0.005887122359126806, 0.002718882402405143, 0.07333575189113617, ...
<p>I have a question related to how to set up my survey to collect meaningful data.</p> <p>I have several hypotheses that look like "A effects B", say "using CrossValidated increases team productivity". I can collect data by doing a survey with participants who (hypothetically) observe these real-world effects in prac...
g27946
[ 0.021048907190561295, 0.004895992111414671, 0.01598735898733139, -0.03494071215391159, 0.018043745309114456, -0.033537786453962326, -0.0014942066045477986, -0.02515808679163456, 0.006368750240653753, 0.04088385030627251, 0.08889303356409073, -0.02975645288825035, -0.04121842235326767, 0.04...
<p>Once I have the estimates Beta (Coef) from a discrete hazard model (losgitic regression). How do I compute the hazard rate?</p> <p>Example from <a href="http://www.ats.ucla.edu/stat/r/examples/alda/ch12.htm" rel="nofollow">http://www.ats.ucla.edu/stat/r/examples/alda/ch12.htm</a>:</p> <pre><code>logitfit &lt;- mod...
g27947
[ 0.0246629249304533, -0.02202647179365158, 0.0010352707467973232, -0.02253621444106102, 0.09108830988407135, -0.013890079222619534, 0.0036259908229112625, 0.05540528893470764, -0.048380739986896515, -0.05666332691907883, -0.03471461310982704, 0.021855643019080162, 0.08959297090768814, -0.01...
<blockquote> <p>We wonder if the colors (of which there are 6) in “Fun Pack” of M &amp; Ms are distributed at random. Let us define as our test statistic $T$ (and there are many ways we could choose to do this) as the minimum number of candies of any color. </p> <p>a) Write out the null and alternative hypothes...
g68098
[ 0.01497243344783783, 0.02201414480805397, -0.002510448917746544, -0.06672438234090805, -0.041260190308094025, -0.03737374022603035, 0.03682680428028107, 0.006289859302341938, -0.00082008185563609, -0.032197561115026474, 0.001516756252385676, -0.0006240541115403175, 0.039412856101989746, 0....
<p>Can anyone suggest a standard reference (benchmark) dataset using replicate weights comparable to NIST's Statistical Reference Datasets (<a href="http://itl.nist.gov/div898/strd/" rel="nofollow">http://itl.nist.gov/div898/strd/</a>) for software testing? Ideally the data would have balanced repeated replication (BRR...
g68099
[ 0.02519853040575981, -0.016868198290467262, -0.017432106658816338, -0.05883925408124924, -0.013701945543289185, -0.0010478596668690443, -0.0298087690025568, 0.02558094821870327, -0.050928425043821335, 0.007184231653809547, 0.00489096948876977, -0.0014760607155039907, -0.03480988368391991, ...
<p>I wanted to ensure that I understand this correctly. So would be grateful if someone can comment on whether my reasoning is correct. To take my running example, my joint distribution is given as follows:</p> <p>$$ p(w, \lambda, \phi) = p(\lambda) p(w|\lambda) P(\phi) \mathcal{L}(w, \phi) $$</p> <p>where $\mathcal{...
g29786
[ 0.05096187815070152, -0.06330777704715729, -0.0011353992158547044, -0.04648389294743538, -0.016643771901726723, 0.02551492117345333, 0.01267002522945404, 0.038438573479652405, -0.05285031720995903, 0.00019839589367620647, 0.028898507356643677, 0.03550025820732117, -0.004600771237164736, 0....
<p>I have two random variables (X and Y), each of which is poisson distributed. Can I assume the ratio of both variables (X/Y) to be poisson distributed as well (for an empirical analysis)? Note that Y has very few 0s, and if Y=0, X=0 as well (magically). I have seen other papers posing that 0/0=0 for such cases.</p> ...
g29851
[ 0.02581113949418068, -0.030991675332188606, -0.013590906746685505, -0.0491039976477623, 0.016691384837031364, -0.03238238766789436, -0.03406177833676338, 0.007838347926735878, 0.01956140622496605, -0.0011803682427853346, -0.0007312246016226709, -0.001237850752659142, -0.018279187381267548, ...
<p>I'm working through Andy Field's <em>Discovering Statistics with R</em> and in the repeated measure's section he shows how to calculate Mauchly's $W$ using <code>ezANOVA</code> from the <code>ez</code> package. He then goes on to say that the chi-squared value (approximation not exact) is to be reported in a write ...
g16714
[ -0.00006730781024089083, -0.02893902361392975, 0.003214089199900627, -0.04297247529029846, 0.03889384865760803, -0.025790801271796227, 0.09022556245326996, 0.06762491911649704, -0.059529662132263184, 0.005039051175117493, -0.05822776257991791, 0.00033580834860913455, 0.07518342137336731, 0...
<p>I want to optimize the parameters that minimize a particular function. These parameters are typically lower and upper bounded (i.e. some can only lie between 0 and 1, some only between 4 and 6, etc.). Some algorithms allow you to set some boundaries, but ideally, I'd like to transform the parameters into a continuou...
g33016
[ 0.0395808145403862, -0.04140029475092888, 0.00638867262750864, -0.025194846093654633, -0.005601165816187859, -0.021217884495854378, 0.01786048524081707, 0.007655225694179535, -0.030736658722162247, -0.0012750762980431318, -0.05371548980474472, 0.008703434839844704, 0.02745269611477852, -0....
<p>I am looking for a test similar to a 2-way ANOVA that would work on a binary response variable. My response variable is survival of plant seedlings (alive or dead). My explanatory variables are Treatment (3 treatment groups) and Site (3 sites). </p> <p>First, I would like to know whether Treatment, Site and their...
g46317
[ -0.015053240582346916, -0.03644778952002525, -0.006577938329428434, -0.017826909199357033, -0.0038298422005027533, -0.03009847365319729, 0.003483501262962818, 0.01581374555826187, -0.008479372598230839, 0.00595285976305604, 0.011907867155969143, 0.012744307518005371, 0.020460478961467743, ...
<p>I performed an experiment using two different methods on same object, the results of the experiments were</p> <p>Method 1 70,72,70,75 and 77% </p> <p>Method 2 80,81,67,75 and 82%</p> <p>On basis on average I claimed that method 2 performs well. But I am asked to provide p values or t-statistics to confirm the res...
g68100
[ 0.019453901797533035, -0.03029957413673401, 0.015558065846562386, -0.04313286393880844, 0.037324920296669006, -0.03260016813874245, 0.014451459981501102, -0.012107978574931622, -0.003855293383821845, -0.01868859864771366, 0.02425008825957775, 0.0037661597598344088, 0.06413675844669342, 0.0...
<p>I am wondering why $\rho$ is used to denote the <a href="http://en.wikipedia.org/wiki/Correlation_and_dependence" rel="nofollow">population correlation</a> whereas it's also used to denote the <a href="http://en.wikipedia.org/wiki/Spearman%27s_rank_correlation_coefficient" rel="nofollow">Spearman correlation estimat...
g827
[ 0.06860494613647461, -0.027061738073825836, -0.02860235422849655, -0.014521737582981586, 0.02078317664563656, 0.021637942641973495, 0.06451285630464554, 0.003597590373829007, -0.019361168146133423, -0.032500144094228745, -0.015745647251605988, 0.04023304954171181, -0.0005182056338526309, 0...
<p>There have been many debates within statistics between Bayesians and frequentists. I generally find these rather off-putting (although I think it has died down). On the other hand, I've met several people who take an entirely pragmatic view of the issue, saying that sometimes it is more convenient to conduct a fre...
g68101
[ 0.027106773108243942, 0.014239627867937088, 0.01472882367670536, -0.003380625741556287, -0.02893686853349209, -0.03880086913704872, 0.03371429443359375, 0.0034719922114163637, -0.02209058217704296, -0.008623352274298668, 0.028558339923620224, -0.036778319627046585, 0.01586323231458664, 0.0...
<p>I'm currently taking a class covering some topics in machine learning. The class is taught in MATLAB using Liblinear so far. I was curious though what kind of tools people used in the real world to tackle these problems. As I'm learning now, MATLAB is great to get your feet wet, but it is seriously lacking in terms ...
g68102
[ 0.019141385331749916, -0.016464348882436752, 0.017438465729355812, 0.04444887861609459, 0.015149354003369808, -0.027282966300845146, -0.04828479886054993, 0.021113233640789986, -0.04957053065299988, -0.0264874380081892, 0.05115099996328354, -0.04493829980492592, 0.13659536838531494, 0.0355...
<p>I estimated a robust linear model in <code>R</code> with MM weights using the <code>rlm()</code> in the MASS package. `R`` does not provide an $R^2$ value for the model, but I would like to have one if it is a meaningful quantity. I am also interested to know if there is any meaning in having an $R^2$ value that wei...
g68103
[ 0.026829663664102554, -0.07736150920391083, -0.004050085321068764, 0.004660722799599171, -0.009411582723259926, 0.015256536193192005, 0.036355432122945786, 0.032408613711595535, -0.0717010647058487, -0.02662043459713459, -0.03351703658699989, 0.022579282522201538, 0.06580501049757004, 0.00...
<p>What are the steps necessary to calculate the plim of an estimator, when only the general equation form is given? I have looked at resources online, but can't understand how to approach this. </p>
g27959
[ 0.010393804870545864, -0.05137789249420166, -0.015305956825613976, 0.032291945070028305, 0.025732289999723434, -0.012526346370577812, 0.04641678184270859, 0.03750785440206528, -0.01167077012360096, 0.002526162890717387, -0.0993800163269043, 0.004540291614830494, 0.022775160148739815, -0.00...
<p>I was asked a question recently which I could not find an answer for and was hoping someone could enlighten me. </p> <p>The question was regarding the significance of a single variable in a linear model. </p> <p>What is the difference between a traditional p-value {which you would obtain from the t-statistic form...
g68104
[ -0.0038203897420316935, -0.007887736894190311, -0.016850680112838745, -0.024309750646352768, -0.027531210333108902, -0.015246095135807991, 0.04448269307613373, 0.06534847617149353, -0.04544428735971451, -0.008251256309449673, -0.004063145257532597, -0.0066656447015702724, 0.08439187705516815...
<p>I am exploring the cumulative distribution function of two samples. I am comparing the distribution of observations in which a focal animal was disturbed with the distribution of observations in which a focal animal was not disturbed as a function of distance to the disturbance.</p> <p>Using program mark I have com...
g27961
[ 0.039591554552316666, -0.05277464911341667, -0.022420762106776237, -0.07601174712181091, 0.029303742572665215, 0.03868545964360237, 0.04426634684205055, 0.03867148235440254, -0.015436386689543724, -0.05094325542449951, 0.016577182337641716, -0.0002887773443944752, 0.051689814776182175, -0....
<p>I am new to modeling with neural networks, but I managed to establish a neural network with all available data points that fits the observed data well. The neural network was done in R with the nnet package:</p> <pre><code>require(nnet) ##33.8 is the highest value mynnet.fit &lt;- nnet(DOC/33.80 ~ ., data = M...
g37942
[ 0.013757279142737389, -0.0207994282245636, -0.014414628967642784, -0.015075040981173515, 0.052288174629211426, 0.023667769506573677, 0.04183658957481384, 0.01740700751543045, -0.07158917188644409, -0.0412643626332283, -0.041426435112953186, 0.007061217445880175, 0.03887636587023735, 0.0059...
<p>Can anyone tell me what is the best way to report the data from a re model? Should I just reproduce the whole table? Or should I pick out the relevant statistics? I can't find any info on this on the web.</p>
g68105
[ 0.021985596045851707, -0.05040723830461502, 0.009382065385580063, 0.0009100650204345584, -0.015733985230326653, -0.03354257717728615, 0.01999577321112156, 0.04880399629473686, -0.02637656405568123, 0.005672452040016651, 0.003641306422650814, 0.001863216981291771, 0.06770386546850204, -0.00...
<p>I've carried out random effects models on my dependent variables. Some of these give an $F$ statistic that is not significant, meaning my model is not significant. What exactly does this mean? Does it mean that I should disregard the whole thing, even though individual variables in the model are significant?</p>
g68106
[ -0.03609687462449074, -0.004499430302530527, 0.00724307494238019, -0.03355935961008072, 0.03582194074988365, 0.04503814876079559, 0.03225351870059967, 0.025215204805135727, 0.0005634336266666651, -0.06677332520484924, -0.013561679050326347, -0.007268598768860102, 0.01640661433339119, 0.018...
<p>Probably a stupid question, but: I have a couple of variables with different scales - I don't want to use contingency tables so Is there a way to calculate all the correlations with different methods and then compare them? </p>
g68107
[ 0.051500409841537476, -0.041546858847141266, -0.005674387793987989, -0.06583807617425919, 0.023989630863070488, -0.04602261632680893, -0.03402870148420334, -0.0285456795245409, -0.03144858777523041, -0.028124826028943062, 0.005854083225131035, 0.01195606030523777, 0.001299526309594512, 0.0...
<p>I would like to learn more about the work and statistical methods performed as biostatistician in pharmaceutical companies and clinical research organizations.</p> <p>It seems the book "Essential Medical Statistics" (Kirkwood et. al) seems useful. In another thread I saw "Clinical Trials: A Methodologic Perspective...
g68108
[ 0.03748661279678345, 0.021546687930822372, 0.02698025107383728, -0.0032250883523374796, 0.012670282274484634, -0.019325612112879753, -0.007942990399897099, 0.018817869946360588, -0.0007162208203226328, 0.03134942054748535, 0.07049005478620529, 0.011917303316295147, 0.0679120123386383, -0.0...
<p>I am reading up on significance tests but I can't quite grasp where the "number of groups" from my example fits in.</p> <p>When I ask 100 people which party they would vote for, imagine I get these results:</p> <pre><code>Party A | Party B ----------------- 53 | 47 </code></pre> <p>This could mean a tendency...
g68109
[ -0.006633348762989044, 0.050256431102752686, -0.01045673992484808, -0.0351153127849102, 0.08241408318281174, -0.007864026352763176, 0.023689502850174904, 0.036379940807819366, 0.01889508031308651, -0.020911261439323425, 0.00325224781408906, 0.02029680460691452, 0.0037579333875328302, 0.035...
<p>From <a href="http://en.wikipedia.org/wiki/Confidence_interval#Definition" rel="nofollow">Wikipedia</a> for confidence interval, there is a note for the distribution of the sample:</p> <blockquote> <p>Note that here <strong>$Pr_{θ,φ}$ need not refer to an explicitly given parameterised family of distributions<...
g68110
[ 0.0060525573790073395, 0.010444623418152332, -0.04915616288781166, -0.02577589638531208, 0.01158498041331768, 0.03477975353598595, -0.018813179805874825, 0.040595490485429764, -0.03250040113925934, -0.012932212091982365, -0.031048977747559547, 0.02959904819726944, 0.0565105639398098, 0.027...
<p>Given $n$ players and $m$ baskets. Each player has random distinct label from the set $\{1, ..., n\}$. Each player $i$ selects a set of baskets $B(i)$ uniformly randomly with probability $p$. Then, each player $i$ puts a paper with his/her label in all the baskets in $B(i)$. A player $i$ win a basket $j \in B(i)$ if...
g68111
[ -0.025380227714776993, 0.019962189719080925, -0.007069807033985853, -0.028081070631742477, -0.031331900507211685, -0.023334048688411713, 0.017566747963428497, -0.013269482180476189, 0.03141027316451073, -0.006132558453828096, -0.06253835558891296, 0.01297300960868597, -0.014959480613470078, ...
<p>For $M$ and $N$ (both $n \times n$ matrices) and $y$ ($n \times 1$ vector). $M$ and $N$ are idempotent. </p> <p>If $cov[My,Ny]=Mcov[y]N=0$. That is, $My$ and $Ny$ are independent.</p> <p>So $y'Ny=(Ny)'(Ny)$ and $y'My=(My)'(My)$ are independent. </p> <p>We always treat this as a fact, but how to prove it, that is,...
g68112
[ 0.004877377301454544, -0.03914100304245949, -0.011942902579903603, 0.03991677612066269, 0.0049311574548482895, -0.060958053916692734, 0.0061520240269601345, 0.014676844701170921, 0.04518229141831398, 0.020373480394482613, -0.06498245149850845, 0.033272434026002884, -0.030253395438194275, 0...
<p>For example, I surveyed pest oviposition on plant. I randomly surveyed 50 leaves/tree in 20 trees each time. My survey was repeated (same trees) each week during the growing season of tree(about 4 moths). I get the data in each tree. Sum of them make up the data of each week. How do I analyse these data? In sum of e...
g68113
[ -0.01577530801296234, -0.002300783060491085, -0.011583609506487846, -0.05351821705698967, -0.03658604621887207, -0.03014751896262169, 0.02392108179628849, -0.044009219855070114, 0.02651846595108509, 0.01047940831631422, -0.011601651087403297, 0.016885196790099144, 0.05993678793311119, 0.01...
<p>Hi I am struggling to understand Ref.df in the output screen in R:</p> <pre><code>Approximate significance of smooth terms: edf Ref.df F p-value s(meangrain) 1.779 2.209 3.193 0.0451 * s(depth) 2.108 2.697 3.538 0.0254 * </code></pre> <p>What does it mean and is it necessary to include...
g68114
[ 0.005345845129340887, 0.030344558879733086, -0.015676148235797882, -0.07050982862710953, -0.007303798105567694, 0.004497468937188387, 0.08296983689069748, 0.013342296704649925, -0.0240881759673357, -0.024040868505835533, -0.03000165894627571, 0.005244716070592403, 0.08596912026405334, -0.0...
<p>A participant in one experiment needs to decide whether a flash and a sound are simultaneous or not for many possible asynchronies between the flash and the sound (x in seconds). For each asynchrony, the flash and sound are presented 100 times. In the below graph the proportion of 'simultaneous' responses (y) is plo...
g68115
[ 0.06041353940963745, -0.028331948444247246, -0.003374114166945219, -0.07720629870891571, -0.018726438283920288, -0.03403213992714882, 0.014593927189707756, -0.00954759307205677, 0.042916975915431976, 0.02872779592871666, -0.00549054192379117, -0.046027135103940964, 0.03567821532487869, 0.0...
<p>I have a longitudinal data set and I used Amelia to create 5 imputed sets. Then I use the <code>NLME</code> package in <code>R</code> to do growth modelling on each of the imputed data sets separately. I am looking for a feasible way to pool the results together for reporting (including, coefficients, variance decom...
g68116
[ 0.03162289783358574, -0.04643469676375389, -0.024787193164229393, -0.08862636983394623, 0.01950770989060402, -0.026926938444375992, 0.012169249355793, -0.011786406859755516, -0.04722147807478905, -0.02097158320248127, 0.001429604715667665, 0.011429330334067345, 0.05119231715798378, 0.06211...
<p>The title says it all. If you are working on a two class classification problem with 50% of instances from each class does it matter which of the two classes is the positive class? Does the classification algorithm used affect the answer?</p>
g27969
[ 0.03558040037751198, -0.025440700352191925, 0.009262333624064922, -0.031683340668678284, -0.011476459912955761, -0.014387809671461582, 0.011331495828926563, 0.01748322695493698, 0.008381376042962074, 0.020151998847723007, 0.03231897950172424, 0.026530452072620392, 0.02193288505077362, 0.01...
<p>I have a problem on binomial probability, it goes like this: </p> <blockquote> <p>A restaurant offers apple and blueberry pies and stocks an equal number of each kind of pie. Each day ten customers request pie. They choose, with equal probabilities, one of the two kinds of pie. How many pieces of each kind of pie...
g29792
[ -0.0017780159832909703, 0.10979175567626953, 0.021388651803135872, 0.016871416941285133, 0.01454556081444025, -0.09926708787679672, 0.018483547493815422, 0.013058063574135303, -0.05824841558933258, 0.00897159706801176, -0.03243696689605713, 0.008300005458295345, -0.009041220881044865, -0.0...
<p>I was wondering which software statistical package do you guys recommend for performing Bayesian Inference.</p> <p>For example, I know that you can run openBUGS or winBUGS as standalones or you can also call them from R. But R also has several of its own packages (MCMCPack, BACCO) which can do bayesian analysis.</p...
g49881
[ 0.06906012445688248, -0.05791925638914108, 0.016646308824419975, -0.0013262346619740129, -0.07532680034637451, -0.024555062875151634, -0.011114029213786125, 0.01874507963657379, -0.06033803150057793, -0.04059922322630882, 0.02805602177977562, 0.009338471107184887, 0.019961273297667503, 0.0...
<p>I have two variables which vary linearly on a log scale. My understanding is that I can say these are "log-linear."</p> <p>I'd also like to write that the difference between the lines on a loglog graph is the same across the whole domain. In other words, I have two lines that have the same slope and a constant sp...
g68117
[ 0.018251625820994377, -0.013084042817354202, -0.003246993524953723, -0.0534360446035862, 0.024715449661016464, -0.01802855357527733, 0.010051756165921688, -0.05110020935535431, -0.04913833364844322, -0.04818029701709747, -0.03085775300860405, 0.02228182926774025, 0.03180219233036041, -0.02...
<p>Let's say I want to generate 100 numbers.</p> <p>If I don't allow for any duplications it would go from 1 to 100. But I want to allow for 20% of duplications i.e. so to 20% of the sample would be non-unique -- how can I do that?</p>
g68118
[ -0.035166218876838684, 0.07251083105802536, 0.012664257548749447, -0.06870122998952866, 0.005223914980888367, -0.019847426563501358, 0.01555929146707058, 0.031343407928943634, -0.02265770733356476, -0.051543280482292175, -0.03518322855234146, -0.020219283178448677, 0.0138210728764534, 0.02...
<p>I want to run series of simple lm in R, with a continuous/categorical outcome and binary group membership (patients - controls) and categorical predictors. However the categorical predictor is positively skewed and none of the transformations I have tried so far (log, ^2 etc.) has had an effect on the normality ass...
g48789
[ -0.0188682172447443, -0.04330029338598251, -0.0005197270074859262, -0.028812656179070473, -0.02790111117064953, -0.03422939404845238, 0.00894847046583891, 0.012502714060246944, -0.024234231561422348, -0.008305982686579227, 0.00720816059038043, 0.02241530269384384, 0.05880918353796005, 0.02...
<p>I am using LMM from lmer to interpret my data. As the system of its output is dummy, so it should mean that the number of levels is always the same in every line of output.</p> <p>For example, if I have three variables: color (red and white), sex (male or female), height (tall, low). The base line is always the sec...
g68119
[ 0.01377927791327238, -0.029799921438097954, 0.007007982116192579, -0.05750502645969391, 0.04492371529340744, 0.006373617798089981, 0.009775222279131413, -0.026634398847818375, -0.056445784866809845, -0.05929572880268097, -0.061118241399526596, 0.057604145258665085, 0.0064028175547719, 0.02...
<p>I am trying to assess the performance of my Bayesian classifier. One measure that I calculate is the false discovery rate (FDR):</p> <p>FP / (FP + TP), where FP = False Positive and TP = True Positive. </p> <p>The ratio (and sizes) of my positive and negative training sets do not accurately reflect the estimated '...
g68120
[ 0.0225989893078804, -0.032754287123680115, -0.0024047684855759144, -0.03323780745267868, -0.056319624185562134, -0.034508515149354935, 0.022806722670793533, 0.039269208908081055, -0.0483221635222435, -0.00627483893185854, 0.006047463044524193, 0.005150612443685532, 0.04116067662835121, 0.0...
<p>Maybe this is an over-the-top question but I have many doubts regarding my recent analysis about deer skull measurements and how to proceed with the analysis. This is a sample of my dataset:</p> <pre><code> Factor1 population manage foraging height biome abundance area forest plough -0.6033788 ADA_BEC best ...
g27978
[ -0.032286617904901505, -0.04429825022816658, 0.0038851050194352865, -0.018766947090625763, -0.012309301644563675, -0.01605372130870819, 0.0870351791381836, -0.0030083737801760435, -0.021861359477043152, 0.040568672120571136, -0.034900665283203125, -0.022304199635982513, 0.04341057315468788, ...
<p>I am looking at the relationship between housing characteristics and a health outcome. To make the example simple, I have data for a continuous predictor (exposure) collected from 1000 homes and health outcomes S (a binary outcome) for 2000 people (1000 couples) living in each of those homes. I would like to look at...
g48797
[ 0.017287589609622955, -0.0074474019929766655, 0.012219705618917942, -0.02118489146232605, -0.0027432770002633333, -0.05471191182732582, 0.011521534994244576, 0.0560397244989872, -0.016520801931619644, -0.06739796698093414, 0.03315022587776184, 0.05006122589111328, 0.05413675308227539, 0.02...
<p>I have a table of the following kind:</p> <pre><code> Cat1 cat2 cat3 ... Var1 6.3 5.3 8.3 Var2 5.2 5.7 6.1 Var3 2.2 3.9 7.6 . . . </code></pre> <p>It is a table of means for different continuous variables across a categorical variable. My question is: I want a visualization of how the categories rela...
g48799
[ -0.010718016885221004, 0.003602961078286171, 0.009031343273818493, -0.07611015439033508, 0.014838004484772682, -0.031249791383743286, 0.013910949230194092, -0.012120160274207592, -0.04587426781654358, -0.007642786018550396, 0.002109919209033251, 0.03227629512548447, 0.06209767609834671, 0....
<p>I need to build a boxplot without any axes and add it to the current plot (ROC curve), but I need to add more text information to the boxplot: the labels for min and max. Current line of code is below (current graph also).</p> <p>Thanks a lot for assistance.</p> <pre><code>boxplot(data, horizontal = TRUE, range = ...
g27980
[ 0.0011381255462765694, 0.025551103055477142, -0.006964151281863451, -0.05619015917181969, -0.006534920074045658, 0.00010228471364825964, -0.05316704139113426, -0.010029478929936886, -0.06389867514371872, -0.06464629620313644, 0.032265424728393555, 0.01592223532497883, 0.04953044652938843, ...
<p>I ran four programs <code>a, b, c, d</code> <em>parallely</em> on two different machines <code>X</code> and <code>Y</code> separately for 10 times. The below is a sample of the data. The running-times (milliseconds) in <code>10</code> runs of each program are given under their respective names.</p> <pre><code>Machi...
g48801
[ 0.04116508364677429, 0.039790086448192596, -0.017216244712471962, -0.05300074443221092, 0.025740940123796463, -0.06138074770569801, -0.0015309280715882778, -0.02615058235824108, -0.060799188911914825, 0.0007760386797599494, 0.029454385861754417, 0.0200952235609293, 0.002723413985222578, 0....
<p>I have used factor analysis with regression method. I was trying to develop an index using this regression equation by using the output of the component score coefficient matrix (SPSS) generated for each factor. Should I include the residuals found under the "Reproduced Correlations Table" (SPSS) in the regression e...
g68121
[ 0.018036076799035072, -0.06421257555484772, 0.013141607865691185, -0.0390000194311142, -0.03595685213804245, -0.0016815796261653304, 0.000274751044344157, 0.025171710178256035, -0.017356691882014275, -0.03407372906804085, -0.006591194309294224, 0.022076906636357307, 0.05016012489795685, -0...
<p>Let $X:\Omega \to \mathbb N$ be a random variable on probability space $(\Omega,\mathcal B,P)$ .show that $$E(X)=\sum_{n=1}^{\infty}P(X\ge n).$$</p> <p>my definition from $E(X)$ is equal $$E(X)=\int_{\Omega}XdP.$$</p> <p>Thanks.</p>
g68122
[ -0.021908294409513474, 0.015794210135936737, -0.02893625572323799, -0.06325207650661469, 0.006372369360178709, 0.013366661965847015, 0.025127185508608818, 0.0025266034062951803, 0.026297206059098244, 0.021498244255781174, -0.039242736995220184, 0.02705276384949684, -0.05574747547507286, 0....
<p>I read the following in some document: </p> <blockquote> <p>Let $Y$ be a random variable with distribution $\mathcal{N}(\theta,\sigma^{2})$. The variance $\sigma^{2}$ is known. Let $p(\theta) = 1$ a flat prior on $\theta$. Then, the posterior distribution $p(\theta \vert Y)$ is $\mathcal{N}(Y,1)$.</p> </blockquot...
g68123
[ 0.039057184010744095, 0.005970246624201536, -0.017853498458862305, -0.057286303490400314, 0.020742183551192284, -0.0008589568315073848, 0.01172727346420288, -0.004719375167042017, -0.0033748054411262274, -0.004756409674882889, -0.011080321855843067, 0.12031227350234985, 0.008573895320296288,...
<p>An energy saving project is being considered and its benefit is computed by subtracting the "post-project" energy cost from the "status quo" energy cost, e.g if the post-project energy cost is estimated to be £1m and the status quo energy cost is estimated to be £1,5m then the benefit is £0.5m. The net benefit is ju...
g27983
[ 0.04007411748170853, 0.008456716313958168, 0.013308752328157425, 0.0020031628664582968, -0.02493337355554104, -0.019340574741363525, -0.0038778758607804775, 0.03796156868338585, -0.03529254347085953, 0.01760157011449337, -0.01412323396652937, 0.00005304238584358245, 0.006769258063286543, 0...
<p>EDIT: I reduced <em>my</em> problem to a more specific question: <a href="http://math.stackexchange.com/questions/26573/">http://math.stackexchange.com/questions/26573/</a> But I am still interested in other ideas.</p> <p>Let's say our data is generated by</p> <p>$$Y_i = f(X_i) + \epsilon_i$$</p> <p>where $X_i$ a...
g30630
[ -0.009160437621176243, -0.060962460935115814, -0.022026967257261276, -0.02737666666507721, -0.007060314994305372, -0.05163590982556343, 0.003911703359335661, 0.0601811558008194, -0.035006120800971985, -0.005715937353670597, -0.0008147992775775492, 0.01690489798784256, 0.08151359856128693, ...
<p>I have a zero-inflated negative binomial model (ZINB) for highly skewed, high zero-count data, $n=6800$. The null model does not reject the ZINB model, and Stata <code>count fit</code> also indicated ZINB over other count models. </p> <p>Yet, when I run the model with more than the minimum of covariates, the inflat...
g68124
[ 0.01122636254876852, -0.028071202337741852, 0.005431048106402159, 0.019135376438498497, -0.005038253031671047, 0.033798493444919586, 0.007003905717283487, 0.055967796593904495, -0.028920240700244904, -0.036592237651348114, 0.005941906478255987, -0.013391448184847832, 0.02432894892990589, -...
<p>Does that exist? A basic R script or package that just needs the data, and it spits lots of “basic” statistics (like the mean, the median, quartiles, make a plot, a boxplot, a histogram, a cumulative histogram, stem-leaf plot, $α_1$, $α_2$, $β_1$, $β_1$, the variance, etc.).</p> <p>I mean, you give the script lots ...
g11493
[ 0.025522392243146896, -0.043847933411598206, -0.015343660488724709, -0.028439782559871674, -0.10534587502479553, -0.09277711063623428, -0.021922901272773743, -0.005697562824934721, -0.01377145852893591, -0.09924051910638809, 0.06144977733492851, 0.0321626253426075, 0.07902832329273224, -0....
<p>My problem is this: I have one dependent variable and 4 independent ones: one is age and the other three are temperament dimensions. I did 3 sets of two-way ANOVAs. The first independent variable is always the same (age) and the second is always different - one of the tempeament dimensions. In one case I get that ag...
g38170
[ -0.023528380319476128, -0.009293693117797375, -0.00604625977575779, -0.029299678280949593, -0.0461348220705986, 0.05506625026464462, 0.0618496835231781, -0.005593952722847462, -0.052478689700365067, -0.01144962664693594, -0.003591614542528987, -0.0010218857787549496, 0.012357103638350964, ...
<p>I am working on vector auto-regression (VARs) and impulse response function (IRFs) estimation based on panel data with 33 individuals over 77 quarters. How should this type of situation be analyzed? What algorithm's exist for this purpose? I would prefer to conduct these analyses in R, so if anyone is familiar wi...
g68125
[ 0.04082892835140228, -0.04827581346035004, -0.018686482682824135, -0.023043550550937653, -0.03027324378490448, -0.0420197956264019, 0.05558498203754425, -0.0035021675284951925, -0.061908058822155, -0.02302669733762741, 0.010919053107500076, 0.03333253785967827, 0.005818075966089964, -0.003...
<p>Given random vectors $Y= [Y_1, \dots, Y_m]$ and $X = [X_1, \dots, X_n]$, $p(y|x)$ is the conditional distribution of $Y$ given $X$. </p> <p>We can call $p(y_1|x)$ the <em>marginal</em> conditional distribution of $Y_1$ given $X$. </p> <p>What would you call $p(y|x_1)$, the conditional distribution of $Y$ given $X_...
g11496
[ 0.06321406364440918, -0.03501525893807411, -0.009828167036175728, -0.036701083183288574, -0.03961314633488655, 0.01415745634585619, -0.011928812600672245, -0.014467716217041016, -0.0005945817683823407, -0.03161459043622017, 0.0866631492972374, 0.021612824872136116, 0.04483892768621445, -0....
<p>I create an agent-based simulation of some economic phoenomenon, and I need to assign each citizen a random income level. I want to select the income level using a probability distribution that approximates the realistic distribution of income in a modern economy. What distribution should I use? Does it make sense t...
g11498
[ -0.005946916528046131, 0.0034875196870416403, 0.0010410103714093566, -0.02167326770722866, -0.023972881957888603, 0.007237543817609549, -0.034542907029390335, 0.014339271001517773, 0.015079202130436897, 0.02780793607234955, 0.02199389971792698, -0.027468597516417503, 0.059178322553634644, ...
<p>When you want to use the IV (instrumental variable) estimator, you typically first test if you have a strong instrument.</p> <p>You do so by regressing the (endogenous) predictor against the instrument. With the regression coefficient, you can calculate the F statistic.</p> <p>My question is: do you have to includ...
g68126
[ 0.034678127616643906, -0.06044362485408783, 0.00714530423283577, 0.000050324411859037355, 0.042891036719083786, -0.027094636112451553, 0.0025499586481601, 0.033998630940914154, -0.022831959649920464, -0.031725961714982986, -0.037694163620471954, 0.02827201597392559, -0.04717583209276199, -...
<p>Using the normal distribution. Let $X\sim \mathcal{N}(1, 2)$ and $Y\sim \mathcal{N}(2, 3)$ where $\mathcal{N}(μ, \sigma^2$) denotes the normal distribution with mean $\mu$ and variance $\sigma^2$. X and Y are independent. Let $U = 2X + 3Y$.</p> <p>What is the mean of U? What is the variance of U? What is $P(6&lt;=...
g49794
[ -0.013146484270691872, -0.015153035521507263, -0.010672595351934433, -0.009063414297997952, -0.013805810362100601, 0.01706555485725403, -0.003618919989094138, -0.039378657937049866, 0.018252987414598465, -0.00992585439234972, -0.04479018598794937, 0.06592131406068802, -0.018009420484304428, ...
<p>I wish to replace the missing values with mode of that categorical variable. In scikit-learn, we can something like</p> <pre><code>Imputer(strategy="most_frequent", axis=0) </code></pre> <p>but if I apply it on categorical column, an error message will be given since scikit-learn will try to convert the categories...
g68127
[ -0.02807762287557125, -0.031015051528811455, -0.006862728390842676, -0.06638647615909576, 0.07934632897377014, 0.002146548591554165, 0.03213851526379585, -0.013200104236602783, -0.06521354615688324, 0.004472026135772467, -0.02022479474544525, -0.0038054557517170906, 0.06448353826999664, 0....
<p>The book Elements of Statistical Learning (available in PDF online) discusses the optimisim bias (7.21, page 229). It states that the optimism bias is the difference between the training error and the in-sample error (error observed if we sample new outcome values at each of original training points) (per below). </...
g68128
[ -0.0009631888242438436, -0.024690305814146996, 0.002158582443371415, 0.008478570729494095, 0.003595793154090643, 0.0034746364690363407, 0.02418183907866478, 0.03276201710104942, -0.0689951628446579, 0.0021774647757411003, 0.02204447239637375, 0.05395785719156265, 0.051958534866571426, 0.00...
<p>I have some financial data i'm trying to fit a random walk too, but the daily change increments have different distributions when studied over the last month, last year, last 5 years etc, along with heteroskedascity. What is the best way to proceed with modelling this? Techniques and interesting areas to look into f...
g27990
[ 0.02832290530204773, 0.0007315368857234716, -0.01351310033351183, 0.002481225412338972, -0.029119545593857765, -0.014747941866517067, 0.05029463768005371, -0.04114004224538803, -0.034044940024614334, -0.019057903438806534, 0.02572377771139145, -0.0016607409343123436, 0.08241096138954163, 0...
<p>I have a hourly time series data of road traffic (i.e. count of the number of vehicles passing on a particular segment of road) collected over 7 days a week (Mon to Sun) for two weeks starting from 9 am in the morning to 10 pm in the night. I have (91 X 2 = 182) data points in my time series for two weeks duration.<...
g68129
[ -0.004447002429515123, -0.015653379261493683, 0.0020259825978428125, -0.05208490416407585, -0.009554308839142323, -0.02909717708826065, 0.010089422576129436, 0.01020024809986353, -0.015476524829864502, -0.01165401004254818, 0.027407390996813774, -0.02476799488067627, 0.04195040091872215, -...
<p>I've been staring at the wikipedia page for <a href="http://en.wikipedia.org/wiki/Brownian_covariance" rel="nofollow">distance correlation</a> where it seems to be characterized by how it can be calculated. While I could do the calculations I struggle to <em>get</em> what distance correlation measures and why the th...
g68130
[ -0.01790032349526882, -0.011290905065834522, -0.01847245544195175, -0.04377862811088562, -0.0022933483123779297, 0.03977014869451523, 0.015497696585953236, 0.019253315404057503, -0.03528667986392975, -0.027066349983215332, 0.008918521925807, -0.019175412133336067, 0.034479204565286636, 0.0...
<p>I am given two Poisson distributions, $X_1$ and $X_2$ with parameters $\lambda_1=1$ and $\lambda_2=2$ respectively.</p> <p>Also given that $Y = -3X_1$ + $2X_2$, how do I represent $Y$ as a compound Poisson distribution?</p> <p>I know that I have to use the methods of convolution. However, I am entirely lost on thi...
g68131
[ 0.022912275046110153, -0.01575915515422821, 0.006980889476835728, -0.07197868824005127, 0.02262968197464943, -0.022395960986614227, -0.08146221190690994, 0.028714429587125778, -0.032966069877147675, -0.008017645217478275, -0.018838992342352867, 0.027582960203289986, 0.03166494518518448, 0....
<p>I have a question regarding which analysis strategy is best suited for our objective. In an exploratory study based on data from a survey we conducted ourselves in India, we are analyzing the consequences of a lack of suitable brides as a result of sex-selection. The determinants of sex-selection are well-researched...
g68132
[ 0.004764185287058353, 0.04148067533969879, 0.013314913958311081, 0.0156343225389719, 0.03191026672720909, 0.017557356506586075, 0.038648296147584915, -0.02893105149269104, -0.020751001313328743, 0.024618377909064293, -0.04026184603571892, 0.008877594023942947, 0.04935069382190704, 0.058634...