My data set in R contains the values like  a   b  c 15  30  15 10  40  19 19  10  41 40  25  27    I have used the formula forecast(sample$a,h=5) after invoking require(forecast). Got the negative forecasting values.   Point Forecast       Lo 80     Hi 80      Lo 95     Hi 95 5       39.99787    1.036967  78.95877  -19.58769  99.58343 6       39.99787  -22.550980 102.54672  -55.66234 135.65808 7       39.99787  -47.693434 127.68917  -94.11441 174.11015 8       39.99787  -76.830999 156.82674 -138.67647 218.67221 9       39.99787 -111.825136 191.82088 -192.19538 272.19112   To avoid this I have used log values for forecasting and as a result I got the new values like     forecast(log(sample$a),h=5)    Point Forecast    Lo 80    Hi 80    Lo 95    Hi 95 5       3.688805 3.007466 4.370144 2.646787 4.730823 6       3.688805 2.725294 4.652316 2.215243 5.162367 7       3.688805 2.508770 4.868840 1.884097 5.493513 8       3.688805 2.326229 5.051381 1.604926 5.772684 9       3.688805 2.165407 5.212203 1.358969 6.018641    If I look at the forecasted values before and after the log transformation, lot of difference is there. Can someone assist me which one is appropriate between these to forecasting values? Which values should I consider as a forecasted values for the variable 'a'?
I have used R to form a 95% prediction interval for the number of endemic species on an island. My lower bound is negative – is that mathematically sound?  In the linear model used in the prediction interval, the data used are:  Area Surface area of island, hectares DiscSC Distance from Santa Cruz, kilometres Elevation Elevation of higher point in metres and it is coded as such:   selected.model &lt;- lm(ES ~ Area + Elevation + DistSC + I(Elevation^2)                      + (Elevation:DistSC) + (A‌​rea:Elevation))    and stepwise regression was performed to find this "best" model   I'm not exactly sure how a prediction interval works. I just want to make sure it is OK. Obviously a negative number of species is incorrect, but I know it takes into account the uncertainty of the mean as well as data scatter.
polytopes as inequalities sistem solutions in R3 (x-y-z) cartesian space i'm here to ask if there's a TikZ/pgf support to draw areas resulting from a system of linear inequalities, into a xyz cartesian space. i found examples of my needs for xy plan at , but i also need to draw some 3d polytopes.  the problem is coordinate system as i found in pgfmanual.pdf seems not suited for R3: only (,) support but i need something like (,,).  As an example, i need to do drawings like this:    but i also need to get a colored surface with a 50% transparent color.  The system which generated that polytope is quite simple and is a linear programming problem:  x_1 + x_2 + x_3 &lt;= 4 x_1             &lt;= 2             x_3 &lt;= 3     3*x_2 + x_3 &lt;= 6 x_1             >= 0       x_2       >= 0             x_3 >= 0    Can you advise me some url/article/doc which can help me, or make me some example to lead me to learn how to reach my target?  Thank you for your attention How can I prevent my parents' divorce? I am a young teenager, younger than 16. (I do not want to give my age online)    My dad told me he wants a divorce, but I don't want my parents divorced. My dad says he can't stand my mom anymore.  My dad is older than 45 and my mom is older than 40.    If it happens, I would choose to stay with my mom. My dad can cook and drive, but my mom can't. There's a school bus in high school though.    What can I do to prevent this divorce? Word: how to show hidden ribbon tabs? How can I control which tabs are available to be opened in the MS Word 2010 ribbon?  Under Word Options > Customize Ribbon > Main Tabs there are several groups checked (Blog Post, Insert (Blog Post), Outlining, Background Removal), but they don't appear on the ribbon even though there is space for them. How is one supposed to turn them on or get to them?  The one in particular I'm after today is the Blog Post tab, which I know I can get to in a round about way via File > New > Blog Post Template. However I don't want a new post, rather an old one, which means File > New > Blog Post Template > Open existing > [select from list] > [close new blog post window] > [slap No I don't to save darn it]. Extra work for nothing is irritating; how do I get Blog Post (or Outlining or ...) to show up in that nice empty space next to AddIns? What kind of rhetoric is (this particular) "No one ever [...]" The President also knows that we have to stop blaming victims for these crimes.  No one ever asks the person who got robbed at gunpoint in the street -- why were you there, what were you doing, what were you wearing?  What did you say?  Did you offend someone?  We encourage people to come forward.  We don't have to explain why someone took our money.     I think the "No one ever [...]" claim is literally false, and actually obviously so. So, I understand it to mean:          The President also knows that we have to stop blaming victims for these crimes.  No one in their right mind ever asks the person who got robbed at gunpoint in the street -- why were you there, what were you doing, what were you wearing?  What did you say?  Did you offend someone?  We encourage people to come forward.  We don't have to explain why someone took our money.      Supposing that I am right, what is this kind of rhetoric called? problem with using loop inside the tabular environment Is there an easy way to show which spheres can be Lie groups? Flair: 500 Internal Server Error - http://stackexchange.com/error?aspxerrorpath=/users/flair/378431.png As most of you know, in the Microsoft Store, there are . This means that on Windows I can emulate Ubuntu and have the Ubuntu command line directly on Windows.  The question is very easy: what can’t I do from the Ubuntu command line emulated in Windows that I can do on a proper Linux-based Ubuntu? Is it useful to download this Ubuntu application, install it, and work just with it instead of the real OS? Is it possible to install all the development libraries? Can I write (or not) device drivers? In other words: what are the limits?  What features of Ubuntu Linux-based are missing from Ubuntu-on-Windows?  New answers are welcome: I know that every software is always changing by improving characteristics and features! Java Socket why server can not reply client What are the technical advantages and disadvantages of mirrorless? The main doubt one can have about mirrorless is, I think that they do not provide ttl viewfinder. Is this a big disadvantage? In what way is it worst (or best) than classical reflex system?  What are the others advantages and disadvantages of a mirrorless compared to a reflex?  Have mirrorless a chance to replace reflex (at least for non pros) in the future? What ensures big holes in my bread? print python stack trace without exception being raised I'm trying to run an interactive command through paramiko.  The cmd execution tries to prompt for a password but I do not know how to supply the password through paramiko's exec_command and the execution hangs.  Is there a way to send values to the terminal if a cmd execution expects input interactively?  ssh = paramiko.SSHClient() ssh.connect(server, username=username, password=password) ssh_stdin, ssh_stdout, ssh_stderr = ssh.exec_command("psql -U factory -d factory -f /tmp/data.sql")   Does anyone know how this can addressed? Thank you. I want to perform performance testing on my test server.  How can I capture workload from production and replay on my test server?   Basically I'm looking for detailed steps so that I can replay the workload from production to my test environment. If $A = \tan6^{\circ} \tan42^{\circ},~~B = \cot 66^{\circ} \cot78^{\circ}$ find the relation between $A$ and $B$ My trigonometric problem is:     If $A = \tan6^{\circ} \tan42^{\circ}$ B = cot$66^{\circ} \cot78^{\circ}$ find the relation between $A$ and $B$.    Working :   $$B = \cot 66^{\circ} \cot78^{\circ} = 1- \frac{\tan24^{\circ}+\tan18^{\circ}}{\tan42^{\circ}}$$  $$A= \tan6^{\circ} \tan42^{\circ} = 1- \frac{\tan6^{\circ} +\tan42^{\circ}}{\tan48^{\circ}}$$  but it seems  this is the wrong way of doing this...please suggest. Thanks! Proof with 3D vectors Let ${a} = \begin{pmatrix}x_a\\y_a\\z_a\end{pmatrix}$, ${b} = \begin{pmatrix}x_b\\y_b\\z_b\end{pmatrix}$, and ${c} = \begin{pmatrix}x_c\\y_c\\z_c\end{pmatrix}$. Show that $(x_a,y_a,z_a)$, $(x_b,y_b,z_b)$, and $(x_c,y_c,z_c)$ are collinear if and only if ${a} \times {b} + {b} \times {c} + {c} \times {a} ={0}.$  Hello,  Is there any other way to do this problem without bashing?  I can't seem to find a nice and slick solution to this.  Thanks in advance! How do I create a public view from a private view It seems like I can't modify a private view to be public, or duplicate a private view to be public.  Am I restricted to copying by hand all the settings of my private view, then creating a fresh public view and selecting all the right columns in the same order with all the sort and filter options? I want to find the probability that mean is less than 5 given that poisson distribution states it is 6 ie find p(x&lt;5|x~po(6))  Here is the actual question: Two grocers agree that the daily demand for a particular item has Poisson distribution. However, grocer A claims that the mean demand is 3 items per day, while grocer B claims that the mean demand is 6 items per day. They agree to resolve the disagreement by observing the demand on one particular day: B agrees to accept A’s claim if the observed demand is 4 or less, and A agrees to accept B’s claim if the observed demand is 5 or more. (a) Calculate the probability that A’s claim is accepted when, in fact, B’s claim is correct What is the correct way to create a single-instance WPF application? Using C# and WPF under .NET (rather than  or console), what is the correct way to create an application that can only be run as a single instance?  I know it has something to do with some mythical thing called a mutex, rarely can I find someone that bothers to stop and explain what one of these are.  The code needs to also inform the already-running instance that the user tried to start a second one, and maybe also pass any command-line arguments if any existed. I am trying to run some unit tests in a C# Windows Forms application (Visual Studio 2005), and I get the following error:  System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.200, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)** at x.Foo.FooGO() at x.Foo.Foo2(String groupName_) in Foo.cs:line 123 at x.Foo.UnitTests.FooTests.TestFoo() in FooTests.cs:line 98** System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.203, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  I look in my references, and I only have a reference to Utility version 1.2.0.203 (the other one is old). Any suggestions on how I figure out what is trying to reference this old version of this DLL file? Besides, I don't think I even have this old assembly on my hard drive. Is there any tool to search for this old versioned assembly?