Mean and standard deviation are not given.
Only regression/ trend line equation and R value are given.
How to simulate 100 nos. data from above scenario?
Do you have the standard deviation of errors? If you don't, you need to assume one value.
From the general equation of linear regression, with an error term e, which follows a normal distribution N(0,sigma_e):
y = mx+n + e
you can simulate y values as follows, assuming that x is in the range of (0,999):
x = runif(100, min = 0, max = 999)
y = m*x+y + rnorm(100, mean = 0, sd = sigma_e)
Saurav Vaia,
The mean is the regression equation itself. However, the std. dev. can/may be back calculated from the R-square value.
Exequiel and Nazmul already gave you the theory. Now if you want a straightforward solution, follow my example.
You have something like this:
--------------------------------------------------------------------
madeup_data
1. I don't have other types of model to compare with ANFIS 2. There are 18 attributes to model Service Quality of Passenger Train from Questionnaire Survey
04 May 2019 5,903 1 View
evolutionary algorithm
03 April 2019 7,168 15 View
GUI learning Matlab
02 March 2019 2,950 4 View
Question survey Service Quality assessment ANFIS
02 March 2019 2,545 1 View
regenerate data
05 June 2018 8,104 9 View
Engineering, Civil Engineering, Geotechnical Engineering related Journal with mid-to-low impact factor. Please do not preferred Indian journals.
02 March 2018 8,558 29 View
Civil Engineering Transportation Engineering Mathematics Statistics Computer Science Any other Engineering
31 December 2017 5,509 1 View
Game Theory, Practical Example Civil Engineering, Transportation Engineering
04 May 2017 3,188 1 View
08 September 2016 3,391 10 View
Transportation Planning Transport demand modeling
08 September 2016 3,692 0 View
When I tried to energy minimization my system, I got fatal error as below. Fatal error: Atomtype opls_116 not found Although I've already added this line: ; include water #include "oplsaa.ff/spc.itp" to [molecultype] directive in my topology.
16 June 2021 0 0 View
I have an experiment with 28 participants The independent variable is the times 1, 2, 5, and 10 used as the cross hairs during a task These 4 times were tested using 4 different blocks, each...
03 March 2021 9,692 2 View
Hello, I'm fairly new to ARENA and I have the following problem: I have two queues in which, in each queue, a different order type arrives (both having an arrival rate of exponential 10). Order...
02 March 2021 2,431 3 View
I just wanted to check if I need to run a linear regression separately if I am using PROCESS MACRO to run mediation analysis. Thank you.
02 March 2021 4,359 3 View
Hello, I have a mechanism where air rises due to convective flows. In this simulation, nothing is driving the air except this. I understand that the Boussinesq approximation only works for small...
02 March 2021 4,910 3 View
Good afternoon, I recently used OmniLog from BIOLOG for my experimentations : I tested the metabolism of different strains on 2 types of plates. I have 16 strains of 3 different groups...
02 March 2021 3,584 1 View
Actually, I am running cfd simulation for a heat exchanger which has two fluids one hot and other one is cold fluid. there is a solid domain between them, which I removed and instead I have used...
01 March 2021 9,537 2 View