• ## R language uses the tail dependence of copulas model to analyze the cost of loss compensation

Time：2021-11-28

Original link:http://tecdat.cn/?p=22226  The problem of dependence between two random variables has attracted much attention. Dependence is a concept that reflects the degree of correlation between two random variables. It is different from correlation. The commonly used correlation measure is Pearson correlation coefficient. It only measures the linear relationship between two random variables. Its value depends […]

• ## Data structure — one-way linked list

Time：2021-10-24

A go language implementation of unidirectional linked list package main import “fmt” type Node struct { no int name string next *Node } //Insert a node into the linked list at the end of the implementation (an implementation of queue push) func InsertTail(head *Node, newNode *Node){ //First find the last node of the linked list. […]

• ## Data structure — bidirectional linked list

Time：2021-10-23

A go language implementation of bidirectional linked list package main import “fmt” //Define node information type dNode struct { id int name string pre *dNode next *dNode } //Tail insert node func dInsertTail(head, newNode *dNode) { //Define a temporary walk variable temp := head for { if temp.next == nil{ Break // after walking to […]

• ## Why should CSS be placed in the head tag?

Time：2021-9-5

It was written on October 10, 2018. When I suddenly remembered it, I moved it to Sifu. The main purpose is to share it with the ignorant front end who has just started problem When I first started the front end, I was told that “CSS should be introduced into the head tag”, but there […]

• ## Two way linked list: I’m no longer driving in one direction

Time：2021-8-12

Unlike a single linked list, each node of a two-way linked list contains not only data, but also pointers to its front node and rear node respectively In fact, compared with a single linked list, a double linked list adds a pointer to the previous node Let me write a double linked list to implement […]

• ## Develop a H5 game from scratch (III) attack and defense camp to give particles new life

Time：2021-8-12

The game code corresponding to this series of articles has been open sourceSinuous game。 Each game contains scenes and characters. To realize a game character, it is necessary to know the position of the character in the scene and its motion law, which can be expressed by mathematical expression. Scene coordinates The scene coordinate system […]

• ## Solutions to flicker of footer components in spa applications such as Vue and react

Time：2021-8-5

Hello, I’m papaya, too fragrant. When developing single page applications, we often encounter such requirements. The head and tail components are common to most components, while the middle content area exists separately, and there are more general content component logic. If we keep refreshing the page, the tail component may flicker. The main reason for […]

• ## A shell command a day Linux text operation series – head, tail command detailed explanation

Time：2021-7-12

Head command in Chinese: Usage: head [option]… [file] Displays the first 10 lines of each specified file to standard output. If more than one file is specified, the file name will be given as the file header before each output. If no file is specified, or the file is’ “, the data is read from […]

• ## Using JS to write an automatic path finding snake

Time：2021-6-24

preface Occasionally I saw a snake written two years ago. At that time, I didn’t write a good algorithm for automatic path finding. Snakes are easy to hang. I found a time to fill in the pit at the weekend and wrote a snake that can’t hang. Two years ago_ Click to view This updated […]

• ## Tail of common linux commands

Time：2021-6-13

tail NAME tail – output the last part of files SYNOPSIS tail [OPTION]… [FILE]… DESCRIPTION Print the last 10 lines of each FILE to standard output. With morethan one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.Mandatory arguments to long options are […]

• ## Extreme value theory of R language: analysis of fire loss distribution based on GPD model

Time：2021-6-11

Link to the original text:http://tecdat.cn/?p=21425  Extreme value theory focuses on the tail characteristics of risk loss distribution, and is usually used to analyze rare probability events. It can rely on a small number of sample data to get the change of extreme value in the population distribution when the population distribution is unknown, and has […]

• ## [leetcode] the day of leetcode — add two numbers

Time：2021-6-2

The next day. Actually, I left work very early today, but I spent the whole night learning the usage of option, some and box in rust. There was almost no time to brush the questions, so I just brush one. The topics are as follows: You are given two non-empty linked lists representing two non-negative […]