Questions tagged [modeling]

Modeling is the constructing and manipulating abstract (mathematical and/or graphical) representations of economic, engineering, manufacturing, social, and other types of situations and natural phenomenon, simulated with the help of a computer system.

Modeling is the construction and manipulation of abstract (mathematical and/or graphical) representations of economic, engineering, manufacturing, social, and other types of situations and natural phenomenon, simulated with the help of a computer system.

2023 questions
0
votes
1 answer

How can I use an R model to power a cell in a google sheet?

I want to use a stats::loess model object created in R to generate a cell's value in google sheets automatically. The input to the function being two other cells in the sheet. I created a model object using loess() and created a model that intakes…
Stod
  • 63
  • 1
  • 6
0
votes
1 answer

Multiple granular view-models or a single model - Asp.NET MVC3

I'm looking at creating my first ASP.NET MVC application using MVC3. The project template I used included some models for registering users, logging in and updating a forgotten password. I want users to be authenticated against my own data store…
BenCr
  • 5,991
  • 5
  • 44
  • 68
0
votes
0 answers

Unexpected expected value (mean) in modeling AR(1) with for-loop in R

(reproducible example added) I tried to code the AR(1) model Yt=0.6Yt-1+Vt (Vt ~ N(0,1)). # Function that makes (mean,sd) of a sample drawn from population exactly # same with those of the population rnorm2 <- function(n,mean,sd) { mean +…
Erdogan CEVHER
  • 1,788
  • 1
  • 21
  • 40
0
votes
1 answer

Problems with modeling AR(1) with three different techniques in R: 1. the formula 2.for-loop 3.arima.sim

(reproducible example added) I tried to model Yt=0.6Yt-1+Vt (Vt ~ N(0,1)) AR(1) with three different techniques. 1. The formula Yt =ρt[y1/ρ + ∑j=2 to t (α+Vj)/ρj] of Yt=α+ρYt-1+Vt obtained via back substitution and using cumulative sum. 2. The…
Erdogan CEVHER
  • 1,788
  • 1
  • 21
  • 40
0
votes
1 answer

How to update the state variables of a vehicle using longitudinal dynamics model?

I'm trying to model the dynamics of a vehicle moving longitudinally using python classes, the equations that my model should step through are clarified in the image link below :…
0
votes
1 answer

what does this line of code do with the lm() and poly() function create column P$Y

So I have been trying to decipher some code but have hit a roadblock. can someone please explain to me the what is being done to P$L to get P$HY to get column Y. I need to understand Functionally (visually how the data frame changes) and from a…
0
votes
0 answers

creating dome model by three.js

How can I create dome model like this picture by three.js ? I have the model eqution.
0
votes
1 answer

Could someone give some tips or check simple class diagram for mobile application?

I'm working on preparing a class diagram for mobile application. The application is meant to be something like a diary from journeys. Here are the requirements: One user can create many trips. One trip can be to one or more places (destinations,…
Julka
  • 9
  • 1
  • 2
0
votes
1 answer

Array Initialization In Uppaal

I have the following struct: const int MAX = 6; typedef struct { int num1; int arr1[MAX]; int arr2[MAX]; int num2; } MyStruct; And I initialize this array likes the following: MyStruct myStruct = {1, {-1}, {2,-1}, 1}; But get the…
OmG
  • 18,337
  • 10
  • 57
  • 90
0
votes
1 answer

Data structure and algorithms for 1D velocity model using layers?

This is for a geophysical analysis program I am creating. I already have code to do all this, but I am looking for inspirations and ideas (good datastructures and algorithms). What I want to model: Velocity as a function of depth (z) The model is…
Olaf
  • 586
  • 5
  • 18
0
votes
1 answer

How to represent Webhook events in a system sequence diagram?

I am working on representing interactions of a system that pulls conversations using webhook events in a system sequence diagram. The actors of User, The system and the External System that sends webhook events that i have registered too already. Is…
Salim Ben Hassine
  • 338
  • 1
  • 5
  • 19
0
votes
1 answer

Defining a new model in crmPack and feeding it new data using "update" function

I've followed the code provided in the vignette of crmPack (pages 16-17) to define the one-parameter power model. I would need to feed it some toxicity data using the update function, but the error I get is "no slot of name "call"". Here is the code…
user1431694
  • 715
  • 1
  • 11
  • 22
0
votes
1 answer

How to model an application and have multi-threaded needs harmonize with encapsulation

Lets say, for example, I have a widget ordering application. It allows customers to order from a catalog of widgets. Obvious object choices might be 'Catalog' and 'Orders'. The 'Catalog' object will allow me to browse, add and delete widgets. …
Dan
  • 1
  • 1
0
votes
1 answer

How to distribute a series of volumes across a distribution using R

I am trying to forecast the volume of events (library book returns). I have a dataframe of potential volumes of expected returns a particular day (derived from a table) and a density function of previous return behaviour. My plan was to use the…
rasc201
  • 5
  • 3
0
votes
1 answer

R fit function returning only starting number

I am automating my trading in R. I am trying to use the nls and fit function to optimise my formula, however only get returned the initial starting parameter which I enter. Instead of using trial and error I am trying to find a way to use a function…