Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i would like to create this variable: piracy rate / 1 - piracy rate either in an Excel sheet or directly in R , programing

i would like to create this variable: piracy rate
/
1
-
piracy rate either in an Excel sheet or directly in R
,
programing, then you take the log of it
.
to produce a table like table
4
which is attached with exact information in R programming. can you provide me the steps both in R programming and excel. my data are as follows: PIR COL INC COST INT PIR
(
4
5
,
3
0
,
4
0
,
7
5
,
9
5
,
1
5
,
2
0
,
6
0
,
9
2
,
4
0
,
1
5
,
2
0
,
5
0
,
7
0
,
9
5
,
7
5
,
8
5
,
4
0
,
4
0
,
4
0
,
2
5
,
1
5
,
2
0
,
6
0
,
4
5
,
5
0
)
,
COL
(
5
4
,
6
2
,
7
7
,
8
7
,
9
2
,
6
5
,
7
5
,
5
2
,
8
6
,
4
6
,
2
4
,
8
2
,
7
4
,
7
0
,
8
6
,
8
4
,
6
8
,
6
2
,
8
0
,
3
5
,
4
9
,
2
9
,
3
2
,
8
0
,
6
3
,
8
8
)
,
INC
(
6
8
4
1
,
4
6
4
1
,
5
4
4
1
,
2
2
7
5
,
1
7
9
5
,
1
4
1
6
2
,
2
5
4
5
5
,
4
9
3
,
1
0
6
0
,
1
6
6
7
5
,
2
1
3
9
5
.
1
4
9
3
6
,
4
8
1
0
,
3
7
2
0
,
5
2
0
,
2
3
7
9
,
1
2
0
8
,
7
5
6
2
,
2
7
5
3
2
,
4
2
0
1
,
1
8
0
5
0
,
3
3
6
6
4
,
4
6
5
5
3
,
3
0
0
0
,
2
9
4
6
,
2
9
7
7
COST
(
8
.
5
,
2
.
4
,
1
4
.
7
,
5
.
9
,
1
0
.
5
,
8
.
2
,
6
.
9
,
2
2
2
.
3
,
3
8
6
.
2
,
3
4
.
1
,
3
.
9
,
4
.
5
,
2
,
1
0
,
4
5
.
8
,
2
9
.
7
,
1
0
3
.
7
,
0
,
1
.
9
,
6
1
.
6
,
1
0
.
7
,
7
.
6
,
3
.
9
,
1
.
4
,
5
.
4
,
4
6
.
9
)
,
INT
(
1
1
2
,
8
2
,
2
3
7
,
4
6
,
4
1
,
1
5
4
,
4
3
0
,
1
5
,
3
7
,
3
0
1
,
3
5
2
,
5
5
1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

Students also viewed these Databases questions