Questions tagged [dummy-data]

Placeholder used for operational or testing purposes.

Dummy-data is useless information reserving a operational information is normally present.

Dummy-data may also be used in testing to properly initialize values which are not intended to be evaluated by the test.

http://en.wikipedia.org/wiki/Dummy_data

164 questions
0
votes
2 answers

How to create dummy variables to indicate two values are the same using SAS

My data looks like: ID YEAR A B 1078 1989 1 0 1078 1999 1 1 1161 1969 0 0 1161 2002 1 1 1230 1995 0 0 1230 2002 0 1 1279 1996 0 0 1279 2003 0 1 1447 1993 1 0 1447 …
lqq
  • 17
  • 3
0
votes
1 answer

Create a dummy variable based on the number of variable appearances using SAS

I am trying to create a dummy variable A to indicate the number of ID appearances. If ID appears exactly twice, then A equals 0; if ID appears more than 2 times, then A equals 1. My desired output is as follows: ID YEAR A 1078 1989 0 …
lqq
  • 17
  • 3
0
votes
1 answer

creating a dummy payment gateway using paypal

I want to make a dummy payment gateway to test my project. I got to know about the paypal sandbox account through google. And about creating buyer/seller accounts for testing.But couldn't find any option to create a developer account. The…
user63762453
  • 1,734
  • 2
  • 22
  • 44
0
votes
2 answers

Dummy variable with time and id condition in long panel

I'm trying to add a dummy variable to a panel data set with time, id and many other variables. library(zoo) geo = c("AT","AT","AT","BE","BE","BE","DE","DE","DE") time =…
Jakob
  • 1,325
  • 15
  • 31
0
votes
2 answers

How to insert "event dummy" (?) based on time interval in different dataframe

I have a dataframe which provides the start and end date of an event for different countries. Events can occur for several times for each country (e.g. country A). Start.Year <- c("1990","1992","1997","1995") End.Year <-…
zoowalk
  • 2,018
  • 20
  • 33
0
votes
2 answers

Generating dummy webshop data in R: Incorporating parameters when randomly generating transactions

For a course I am currently in I am trying to build a dummy transaction, customer & product dataset to showcase a machine learning usecase in a webshop environment as well as a financial dashboard; unfortunately, we have not been given dummy data. I…
MattV
  • 1,353
  • 18
  • 42
0
votes
2 answers

Alluvial diagram with R (or related)

In a survey I asked two question: What is your main transportation?(only 1 possible answer and mandatory answer) What is your secondary transportation? (0 or many answer, each secondary transport contains 0 for yes and 1 for no) Here are some fake…
S12000
  • 3,345
  • 12
  • 35
  • 51
0
votes
1 answer

Unix / Shell Add a range of columns to file

So I've been trying the same problem for the last few days, and I'm at a formatting road block. I have a program that will only run if its working on an equal number of columns. I know the total column count, and the number needed to add with a…
ashah57
  • 627
  • 1
  • 7
  • 11
0
votes
1 answer

Writing dummy contents in files of external storage android

In the below mentioned code I am writing dummy contents in a file called "testfile.txt". But I want to write dummy contents in any of the files of the external storage. I don't want the file name to be hard coded. How do I do? String root =…
0
votes
1 answer

How to add a column to select statement inside CTE to add value later

I want to add a dummy column in CTE. Later I want to update the value of dummy column using update statement. I am getting Update or Insert of view or function failed because it contains a derived or constant field. The CTE is with CTE AS ( Select…
Tilak
  • 30,108
  • 19
  • 83
  • 131
0
votes
2 answers

Stata: Linear Regression With Over 11,000 Dummy Variables

I'm trying to run a panel regression with over 11,000 dummy interaction terms. My regression looks like this: xi: reg Y i.county*i.year where i.county*i.year represents interaction of dummy variables. Neither Stata, nor Matlab, nor R will hold…
SVenkatesh
  • 73
  • 1
  • 9
0
votes
3 answers

Removing Content with wp_delete_post in a Plugin with Custom Post Type

I set up a plugin that adds a custom post type and then brings in a bunch of dummy content with wp_insert_post on activation like so: register_activation_hook( __FILE__, array( $this, 'activate' ) ); public function activate( $network_wide ) { …
Jason Hoffmann
  • 765
  • 2
  • 7
  • 15
0
votes
1 answer

How to create thousands of dummy records in a table - Oracle

I am learning oracle myself with help of internet... Now, for some scenario I need thousands of records which should be available in my table. It is not possible to create thousands of records manually... Is there any tools or any other way to do…
Fero
  • 12,969
  • 46
  • 116
  • 157
0
votes
2 answers

How to specify a dummy column in outer queries using MySQL?

I need to perform the following query: SELECT ID FROM tbl_a WHERE (fld_merchID, 'something') IN (SELECT MerchID, MAX(Priority) FROM tbl_b WHERE Name LIKE 'AAA.com') as you can image, there's no 'Priority' field in tbl_a. (I need to select the…
content01
  • 3,115
  • 6
  • 41
  • 61
-1
votes
1 answer

Invalid data with Postman and dummy.io

I’m trying to create a new user on dummyapi.io using Postman, but I keep getting a PARAMS_NOT_VALID error. I’m sending a POST request to the /user/create route with the firstName, lastName, and email fields in the request body, but I keep getting…
1 2 3
10
11